Bug Tracker

Opened 8 years ago

Closed 8 years ago

#13007 closed bug (notabug)

Trigger & bind a custom event with eventType is the same of method name throw an Error

Reported by: anonymous Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.8.3
Keywords: Cc:
Blocked by: Blocking:

Description

Class = function() {}

Class.prototype = {

method: function() {

$(this).trigger('method')

}

}

c = new Class $(c).on('method', function() {})

c.method()

In the latest Chrome it throw an error: RangeError: Maximum call stack size exceeded

Change History (1)

comment:1 Changed 8 years ago by dmethvin

Resolution: notabug
Status: newclosed
Note: See TracTickets for help on using tickets.