X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=src%2Fdimensions.js;h=7371f00fa75fba8beaa75e92ce23a7da2f0f1b1f;hb=a974b255c30ac23906ba45bf95de99542a70b587;hp=f438db0cfe3de3b44d99ab4f585c71ae0df80056;hpb=2d4755a0fb1e34cc81d142415ed0ddf3791cf724;p=jquery.git diff --git a/src/dimensions.js b/src/dimensions.js index f438db0..7371f00 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(){