Bug Tracker

Modify

Ticket #5710 (closed bug: invalid)

Opened 3 years ago

Last modified 3 years ago

v. 1.4a2 - Too much recursions

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

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

comment:1 Changed 3 years ago by dmethvin

  • Status changed from new to closed
  • Resolution set to invalid

Please reopen with a test case.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.