]> khamidou — GitHub mirrors - popcorn-js.git/commitdiff
fixed mixed spaces and tabs t613
authorChristopher De Cairos <chris.decairos@gmail.com>
Wed, 14 Sep 2011 16:24:48 +0000 (12:24 -0400)
committerChristopher De Cairos <chris.decairos@gmail.com>
Wed, 14 Sep 2011 16:24:48 +0000 (12:24 -0400)
players/soundcloud/popcorn.soundcloud.js
players/vimeo/popcorn.vimeo.js
plugins/googlefeed/popcorn.googlefeed.js
plugins/googlemap/popcorn.googlemap.js

index cefde93cf701f043ca583655001c985a0d6e3622..5936aecb77531a5a682a7d0f68b84c2d3e1e70c7 100644 (file)
   }
 
   Popcorn.soundcloud = function( containerId, src, options ) {
-       !hasAllDependencies() && loadScripts();
+    !hasAllDependencies() && loadScripts();
     return new Popcorn.soundcloud.init( containerId, src, options );
   };
 
index 24c64bd2195b0d2d275889074ad59739bee3dbd5..8b7bb279c33a1af38ee5adca80b24d244956a4f2 100644 (file)
   };
 
   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 );
        };
 
index bca198588a40c6239d44262c0a608e743719a580..3b684e43d3f88e0f6b4729b909720e9f8682281c 100755 (executable)
 
             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();
 
           });
 
index 054684cdeafec79c598092403309e7107a696c58..a5a17b80f6753b6a83713997515b7c36dc4e3cd4 100755 (executable)
@@ -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