From: Anna Sobiepanek Date: Thu, 21 Apr 2011 20:29:58 +0000 (-0400) Subject: linting [#452] X-Git-Tag: v0.5~3^2~1 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=0b46ef95ef8113913d66a6d5d44e698fedc6a256;p=popcorn-js.git linting [#452] --- diff --git a/players/vimeo/popcorn.vimeo.js b/players/vimeo/popcorn.vimeo.js index 3f5be04..aad5b94 100644 --- a/players/vimeo/popcorn.vimeo.js +++ b/players/vimeo/popcorn.vimeo.js @@ -123,9 +123,9 @@ fn.call( owner, args ); } }); - } + }; } - }; + } return { addEventListener: function( evtName, fn, doFire ) { @@ -172,7 +172,7 @@ 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 ); } }; @@ -195,7 +195,7 @@ player.offsetTop = player.swfObj.offsetTop; player.dispatchEvent( "load" ); - } + }; Popcorn.getScript( "http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js" ); @@ -215,7 +215,7 @@ 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/####### @@ -228,7 +228,7 @@ 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 @@ -400,7 +400,7 @@ } }); }); - } + }; return ctor; })();