From: Christopher De Cairos Date: Wed, 14 Sep 2011 16:24:48 +0000 (-0400) Subject: fixed mixed spaces and tabs X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=0ef6bb40774f9fbfb1325e27ca1065e52a387d39;p=popcorn-js.git fixed mixed spaces and tabs --- diff --git a/players/soundcloud/popcorn.soundcloud.js b/players/soundcloud/popcorn.soundcloud.js index cefde93..5936aec 100644 --- a/players/soundcloud/popcorn.soundcloud.js +++ b/players/soundcloud/popcorn.soundcloud.js @@ -326,7 +326,7 @@ } Popcorn.soundcloud = function( containerId, src, options ) { - !hasAllDependencies() && loadScripts(); + !hasAllDependencies() && loadScripts(); return new Popcorn.soundcloud.init( containerId, src, options ); }; diff --git a/players/vimeo/popcorn.vimeo.js b/players/vimeo/popcorn.vimeo.js index 24c64bd..8b7bb27 100644 --- a/players/vimeo/popcorn.vimeo.js +++ b/players/vimeo/popcorn.vimeo.js @@ -179,7 +179,7 @@ }; Popcorn.vimeo = function( mediaId, list, options ) { - !global.swfobject && Popcorn.getScript( "http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js" ); + !global.swfobject && Popcorn.getScript( "http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js" ); return new Popcorn.vimeo.init( mediaId, list, options ); }; diff --git a/plugins/googlefeed/popcorn.googlefeed.js b/plugins/googlefeed/popcorn.googlefeed.js index bca1985..3b684e4 100755 --- a/plugins/googlefeed/popcorn.googlefeed.js +++ b/plugins/googlefeed/popcorn.googlefeed.js @@ -113,20 +113,20 @@ var readyCheck = function() { - if ( window.google ) { - google.load( "feeds", "1", { + if ( window.google ) { + google.load( "feeds", "1", { - callback: function () { + callback: function () { - dynamicFeedLoad(); + dynamicFeedLoad(); - } - }); - } else { - setTimeout( readyCheck, 10 ); - } - }; - readyCheck(); + } + }); + } else { + setTimeout( readyCheck, 10 ); + } + }; + readyCheck(); }); diff --git a/plugins/googlemap/popcorn.googlemap.js b/plugins/googlemap/popcorn.googlemap.js index 054684c..a5a17b8 100755 --- a/plugins/googlemap/popcorn.googlemap.js +++ b/plugins/googlemap/popcorn.googlemap.js @@ -130,16 +130,16 @@ var googleCallback; return { - _setup: function() { + _setup: function() { - // if this is the firest time running the plugins - // call the function that gets the script - if (!_mapFired) { - loadMaps(); - } + // if this is the firest time running the plugins + // call the function that gets the script + if (!_mapFired) { + loadMaps(); + } - isMapReady(); - }, + isMapReady(); + }, /** * @member webpage