From: ScottDowne Date: Fri, 15 Apr 2011 17:07:54 +0000 (-0400) Subject: [#480] cleanup on new map test X-Git-Tag: v0.5~18^2~1^2 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=466a1f9c3f1c7bc4ba39bb6bb0bd141a812fbcb1;p=popcorn-js.git [#480] cleanup on new map test --- diff --git a/plugins/googlemap/popcorn.googlemap.unit.js b/plugins/googlemap/popcorn.googlemap.unit.js index 39c0cdf..778a59d 100644 --- a/plugins/googlemap/popcorn.googlemap.unit.js +++ b/plugins/googlemap/popcorn.googlemap.unit.js @@ -2,7 +2,8 @@ test("Popcorn Google Map Plugin", function () { var popped = Popcorn("#video"), expects = 11, - count = 0; + count = 0, + setupId; expect(expects); @@ -51,7 +52,7 @@ test("Popcorn Google Map Plugin", function () { zoom: 15 }); -var setupId = popped.getLastTrackEventId(); + setupId = popped.getLastTrackEventId(); popped.exec( 4, function() { ok(google.maps, "Google maps is available");