fix for #4399, removing unused variables
authorBrandon Aaron <brandon.aaron@gmail.com>
Sun, 22 Mar 2009 04:24:40 +0000 (04:24 +0000)
committerBrandon Aaron <brandon.aaron@gmail.com>
Sun, 22 Mar 2009 04:24:40 +0000 (04:24 +0000)
src/dimensions.js

index f438db0..7371f00 100644 (file)
@@ -1,9 +1,7 @@
 // Create innerHeight, innerWidth, outerHeight and outerWidth methods
 jQuery.each([ "Height", "Width" ], function(i, name){
 
-       var tl = i ? "Left"  : "Top",  // top or left
-               br = i ? "Right" : "Bottom", // bottom or right
-               type = name.toLowerCase();
+       var type = name.toLowerCase();
 
        // innerHeight and innerWidth
        jQuery.fn["inner" + name] = function(){