Bug Tracker

Ticket #4399: jquery.4399.diff

File jquery.4399.diff, 571 bytes (added by CraigBuchek, 14 years ago)

Remove unused variables in dimensions.js

  • jquery/src/dimensions.js

     
    11// Create innerHeight, innerWidth, outerHeight and outerWidth methods
    22jQuery.each([ "Height", "Width" ], function(i, name){
    33
    4         var tl = i ? "Left"  : "Top",  // top or left
    5                 br = i ? "Right" : "Bottom", // bottom or right
    6                 type = name.toLowerCase();
     4        var type = name.toLowerCase();
    75
    86        // innerHeight and innerWidth
    97        jQuery.fn["inner" + name] = function(){