]> khamidou — GitHub mirrors - popcorn-js.git/commitdiff
#332 Fixed code style
authorMohammed Buttu <mohammedbuttu@gmail.com>
Tue, 17 May 2011 15:55:19 +0000 (11:55 -0400)
committerMohammed Buttu <mohammedbuttu@gmail.com>
Tue, 17 May 2011 15:55:19 +0000 (11:55 -0400)
plugins/linkedin/popcorn.linkedin.unit.js

index a72d96e1fe47058d9b31621f7d18f5be1dab4ec6..82b82eae8373b453940026c66b364f5d6f1418cc 100644 (file)
@@ -6,7 +6,7 @@ test("Popcorn LinkedIn Plugin", function () {
     var popped   = Popcorn("#video"),
         expects  = 5,
         count    = 0,
-        linkedin = document.getElementById('linkedindiv');
+        linkedin = document.getElementById( "linkedindiv" );
     
     expect( expects );
     
@@ -19,7 +19,7 @@ test("Popcorn LinkedIn Plugin", function () {
   
     stop();
    
-    ok( 'linkedin' in popped, "linkedin is a method of the popped instance" );
+    ok( "linkedin" in popped, "linkedin is a method of the popped instance" );
     plus();
   
     equals( linkedin.innerHTML, "", "initially, there is nothing inside the linkedin div" );
@@ -27,13 +27,13 @@ test("Popcorn LinkedIn Plugin", function () {
     
     popped.linkedin({
   
-      type      : 'share',
-      counter   : 'right',
-      url       : "http://www.google.ca",
-      target    : "linkedindiv",
-      apikey    : 'ZOLRI2rzQS_oaXELpPF0aksxwFFEvoxAFZRLfHjaAhcGPfOX0Ds4snkJpWwKs8gk',
-      start     : 1,
-      end       : 3
+      type: "share",
+      counter: "right",
+      url: "http://www.google.ca",
+      target: "linkedindiv",
+      apikey: "ZOLRI2rzQS_oaXELpPF0aksxwFFEvoxAFZRLfHjaAhcGPfOX0Ds4snkJpWwKs8gk",
+      start: 1,
+      end: 3
     });
   
     popped.exec( 2, function() {
@@ -50,10 +50,10 @@ test("Popcorn LinkedIn Plugin", function () {
         plus();
     });
   
-    popped.volume(0).play();
+    popped.volume( 0 ).play();
   } else {
 
     // tests must be run on localhost
-    ok(false, "LinkedIn apikey will only work under localhost");
+    ok( false, "LinkedIn apikey will only work under localhost" );
   }
 });