]> khamidou — GitHub mirrors - popcorn-js.git/commitdiff
[#480] cleanup on new map test
authorScottDowne <sdowne@learn.senecac.on.ca>
Fri, 15 Apr 2011 17:07:54 +0000 (13:07 -0400)
committerScottDowne <sdowne@learn.senecac.on.ca>
Fri, 15 Apr 2011 17:07:54 +0000 (13:07 -0400)
plugins/googlemap/popcorn.googlemap.unit.js

index 39c0cdf2ee14f835a8049e3aa2eccddf66df315a..778a59d285abdf7a93a2ae3c42e47561e4e9fe30 100644 (file)
@@ -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");