From: ScottDowne Date: Fri, 25 Feb 2011 17:09:50 +0000 (-0500) Subject: [#369] moved variable to top X-Git-Tag: v0.4~28 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=b26bb73369fb0acc4cdc4aefb7054fafbe2e0304;p=popcorn-js.git [#369] moved variable to top --- diff --git a/test/popcorn.unit.js b/test/popcorn.unit.js index b4b1e7c..ed6b093 100755 --- a/test/popcorn.unit.js +++ b/test/popcorn.unit.js @@ -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({});