Bug Tracker

Opened 10 years ago

Closed 10 years ago

#5710 closed bug (invalid)

v. 1.4a2 - Too much recursions

Reported by: cistox Owned by:
Priority: major Milestone: 1.4
Component: unfiled Version: 1.4a2
Keywords: Cc:
Blocked by: Blocking:

Description

Using Firefox 3.5.6

The 2nd row of the below reported code is causing "too much recursions"

jquery 1.4a2 source snapshot


proxy: function( fn, proxy, thisObject ) {

if ( proxy !== undefined && !jQuery.isFunction( proxy ) ) {

thisObject = proxy; proxy = undefined;

} FIXME: Should proxy be redefined to be applied with thisObject if defined?

proxy = proxy
function() { return fn.apply( thisObject !== undefined ? thisObject : this, arguments ); };

Set the guid of unique handler to the same of original handler, so it can be removed

proxy.guid = fn.guid = fn.guid
proxy.guid this.guid++;

So proxy can be declared as an argument return proxy;

},

Change History (1)

comment:1 Changed 10 years ago by dmethvin

Resolution: invalid
Status: newclosed

Please reopen with a test case.

Note: See TracTickets for help on using tickets.