]> khamidou — GitHub mirrors - popcorn-js.git/commitdiff
fixed lint complain -#368
authorminoo <minoo@.(none)>
Wed, 20 Apr 2011 01:11:53 +0000 (21:11 -0400)
committerminoo <minoo@.(none)>
Wed, 20 Apr 2011 01:11:53 +0000 (21:11 -0400)
plugins/image/popcorn.image.js

index c689c8356030fca2387a0e4c0dd9c53f4ac4fcb5..d83b658cb76bcc810e3d07a37f8f01072cac655b 100644 (file)
@@ -48,7 +48,6 @@
       },
 
       _setup: function( options ) {
-        var st;
 
         options.link = document.createElement( 'a' );
         options.link.style.position = "relative";
@@ -78,7 +77,7 @@
               fontWeight : "bold",
               zIndex: "10"
           };
-          for ( st in divTextStyle ) {
+          for ( var st in divTextStyle ) {
             divText.style[ st ] = divTextStyle[ st ];
           }