You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This change sounds like a version bump worthy. Maybe also create a test case which would show that the example you specified is no longer the case. Thanks for contributing!
var event = new Events();
var func1 = new function() {
// should not call func1 again, but it does. Infinite loop happens.
event.emit('a',[]);
};
event.once('a', func1);
event.emit('a', []);
The text was updated successfully, but these errors were encountered: