Skip to main content

Bug Tracker

Side navigation

#13007 closed bug (notabug)

Opened December 06, 2012 07:45AM UTC

Closed December 06, 2012 01:44PM UTC

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

Attachments (0)
Change History (1)

Changed December 06, 2012 01:44PM UTC by dmethvin comment:1

resolution: → notabug
status: newclosed