From: Brandon Aaron Date: Thu, 7 May 2009 18:09:17 +0000 (+0000) Subject: unused, left-over code from r6344 X-Git-Url: http://git.asbjorn.it/?a=commitdiff_plain;h=09b59038a0d1b6a1e72d24b9cf86c2a9b2aa4d16;p=jquery.git unused, left-over code from r6344 --- diff --git a/src/event.js b/src/event.js index 1aafcfa..8cf96da 100644 --- a/src/event.js +++ b/src/event.js @@ -524,7 +524,7 @@ jQuery.fn.extend({ } fn = thisObject === undefined ? fn : jQuery.event.proxy( fn, thisObject ); return type === "unload" ? this.one(type, data, fn, thisObject) : this.each(function() { - jQuery.event.add( this, type, fn, data, thisObject ); + jQuery.event.add( this, type, fn, data ); }); }, @@ -542,7 +542,7 @@ jQuery.fn.extend({ return fn.apply( this, arguments ); }); return this.each(function() { - jQuery.event.add( this, type, one, data, thisObject ); + jQuery.event.add( this, type, one, data ); }); },