]> khamidou — GitHub mirrors - popcorn-js.git/commitdiff
[#369] moved variable to top
authorScottDowne <sdowne@learn.senecac.on.ca>
Fri, 25 Feb 2011 17:09:50 +0000 (12:09 -0500)
committerScottDowne <sdowne@learn.senecac.on.ca>
Fri, 25 Feb 2011 17:09:50 +0000 (12:09 -0500)
test/popcorn.unit.js

index b4b1e7cc9b051f81a139f7642815d05c7249e3b8..ed6b09344917dbc419e134958b844f36fb5df0dc 100755 (executable)
@@ -582,7 +582,8 @@ test("Plugin Factory", function () {
 
   var popped = Popcorn("#video"), 
       methods = "load play pause currentTime mute volume roundTime exec removePlugin",
-      expects = 50, 
+      expects = 50,
+      testObj = {},
       count = 0;
   
   //expect(expects);
@@ -782,8 +783,6 @@ test("Plugin Factory", function () {
     nick: "second closure track"
   });
 
-  var testObj = {};
-
   Popcorn.plugin("empty", testObj);
 
   popped.empty({});