]> khamidou — GitHub mirrors - popcorn-js.git/commitdiff
linting [#452]
authorAnna Sobiepanek <annaopensource@gmail.com>
Thu, 21 Apr 2011 20:29:58 +0000 (16:29 -0400)
committerAnna Sobiepanek <annaopensource@gmail.com>
Thu, 21 Apr 2011 20:29:58 +0000 (16:29 -0400)
players/vimeo/popcorn.vimeo.js

index 3f5be0495c2d358ddffec91af69343b6b071e5c5..aad5b94ae3a35bd82fc6915291ca0ad192c0ae77 100644 (file)
               fn.call( owner, args );
             }
           });
-        }
+        };
       }
-    };
+    }
     
     return {
       addEventListener: function( evtName, fn, doFire ) {
       dispatchEvent: function( evt, args ) {        
         // If event object was passed in, toString will yield event type as string (timeupdate)
         // If a string, toString() will return the string itself (timeupdate)
-        var evt = "on"+evt.toString().toLowerCase();
+        evt = "on"+evt.toString().toLowerCase();
         this[evt] && this[evt]( args );
       }
     };
     player.offsetTop = player.swfObj.offsetTop;
     
     player.dispatchEvent( "load" );
-  }
+  };
   
   Popcorn.getScript( "http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js" );
   
       
       var matches = uri.match( rPlayerUri );
       return matches ? matches[0].substr(30) : "";
-    };
+    }
     
     // Extract the numeric video id from url: 'http://vimeo.com/11127501' or simply 'vimeo.com/4282282'
     // Ignores protocol and subdomain, but one would expecct it to be http://www.vimeo.com/#######
       
       var matches = url.match( rWebUrl );
       return matches ? matches[0].substr(10) : "";
-    };
+    }
     
     // Borrowed from: http://www.quirksmode.org/dom/getstyles.html
     // Gets the style for the given element
           }
         });
       });
-    }
+    };
     return ctor;
   })();