Skip to content
This repository
Browse code

No need for closure var

  • Loading branch information...
commit ae84ccc4fc0950271e895268994ed4aec3ab1aac 1 parent 306acc4
authored November 07, 2010

Showing 1 changed file with 1 addition and 2 deletions. Show diff stats Hide diff stats

  1. 3  sources/BackgroundStyleInfo.js
3  sources/BackgroundStyleInfo.js
@@ -257,10 +257,9 @@ PIE.BackgroundStyleInfo = PIE.StyleInfoBase.newStyleInfo( {
257 257
     },
258 258
 
259 259
     getCss: PIE.StyleInfoBase.cacheWhenLocked( function() {
260  
-        var el = this.targetElement;
261 260
         return this.getCss3() ||
262 261
                this.withActualBg( function() {
263  
-                   var cs = el.currentStyle;
  262
+                   var cs = this.targetElement.currentStyle;
264 263
                    return cs.backgroundColor + ' ' + cs.backgroundImage + ' ' + cs.backgroundRepeat + ' ' +
265 264
                    cs.backgroundPositionX + ' ' + cs.backgroundPositionY;
266 265
                } );

0 notes on commit ae84ccc

Please sign in to comment.
Something went wrong with that request. Please try again.