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

index 82b82eae8373b453940026c66b364f5d6f1418cc..8833cf9b337afa614fa7ef12573edf0928a9fda6 100644 (file)
@@ -3,9 +3,9 @@ test("Popcorn LinkedIn Plugin", function () {
   if ( /localhost/.test( location.hostname ) ) {
     
     // run tests on localhost
-    var popped   = Popcorn("#video"),
-        expects  = 5,
-        count    = 0,
+    var popped = Popcorn("#video"),
+        expects = 5,
+        count = 0,
         linkedin = document.getElementById( "linkedindiv" );
     
     expect( expects );
@@ -38,16 +38,16 @@ test("Popcorn LinkedIn Plugin", function () {
   
     popped.exec( 2, function() {
   
-        ok( /block/.test( linkedin.style.display ), "Div contents are displayed" );
-        plus();
-        ok( /script/.test( linkedin.innerHTML ), "LinkedIn plugin exists" );
-        plus();
+      ok( /block/.test( linkedin.style.display ), "Div contents are displayed" );
+      plus();
+      ok( /script/.test( linkedin.innerHTML ), "LinkedIn plugin exists" );
+      plus();
     });
     
     popped.exec( 4, function() {
   
-        ok( /none/.test( linkedin.style.display ), "Div contents are hidden again" );
-        plus();
+      ok( /none/.test( linkedin.style.display ), "Div contents are hidden again" );
+      plus();
     });
   
     popped.volume( 0 ).play();