mirror of https://github.com/lukechilds/node.git
Browse Source
Unnecessary checks were being performed on if the event existed before being removed. _events starts out as null, so reset to null when emptied. Checking typeof is a lot cheaper than isArray().v0.9.12-release
Trevor Norris
12 years ago
committed by
isaacs
1 changed files with 21 additions and 16 deletions
Loading…
Reference in new issue