aboutsummaryrefslogtreecommitdiffstats
path: root/src/dimensions.js
diff options
context:
space:
mode:
authorBrandon Aaron <brandon.aaron@gmail.com>2009-03-22 04:24:40 +0000
committerBrandon Aaron <brandon.aaron@gmail.com>2009-03-22 04:24:40 +0000
commita974b255c30ac23906ba45bf95de99542a70b587 (patch)
tree1756e161ff31a0cc994248032a9ca5ac04f7dd68 /src/dimensions.js
parent30e760b63fd6d82f30833cd2864f245dd9594cd9 (diff)
downloadjquery-a974b255c30ac23906ba45bf95de99542a70b587.tar.gz
jquery-a974b255c30ac23906ba45bf95de99542a70b587.zip
fix for #4399, removing unused variables
Diffstat (limited to 'src/dimensions.js')
-rw-r--r--src/dimensions.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/dimensions.js b/src/dimensions.js
index f438db0cf..7371f00fa 100644
--- a/src/dimensions.js
+++ b/src/dimensions.js
@@ -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(){