Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

events: remove type check for event type #4915

Merged
merged 2 commits into from Mar 4, 2013
Merged

events: remove type check for event type #4915

merged 2 commits into from Mar 4, 2013

Conversation

trevnorris
Copy link

Strict checking for typeof types broke backwards compatibility for other
libraries. This reverts those checks.

Strict checking for typeof types broke backwards compatibility for other
libraries. This reverts those checks.

The subclass test has been changed to ensure all operations can be
performed on the inherited EE before instantiation. Including the
ability to set event names with numbers.
v8 likes when smaller functions have a single return point, and cleaned
up the single non-strict check.
@piscisaureus
Copy link

LGTM

@piscisaureus piscisaureus merged commit d09ab61 into nodejs:master Mar 4, 2013
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants