Skip to main content

Bug Tracker

Side navigation

Ticket #4399: jquery.4399.diff
File jquery.4399.diff, 0.6 KB (added by CraigBuchek, March 22, 2009 04:23AM UTC)

Remove unused variables in dimensions.js

Index: jquery/src/dimensions.js
===================================================================
--- jquery/src/dimensions.js	(revision 6295)
+++ jquery/src/dimensions.js	(working copy)
@@ -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(){

Download in other formats:

Original Format