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

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: nodejs/node-v0.x-archive
base: 890dc2eeb1bd
Choose a base ref
...
head repository: nodejs/node-v0.x-archive
compare: d09ab61dcd49
Choose a head ref
  • 2 commits
  • 2 files changed
  • 1 contributor

Commits on Mar 4, 2013

  1. events: remove type check for event type

    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.
    trevnorris committed Mar 4, 2013
    1
    Copy the full SHA
    0468861 View commit details
    Browse the repository at this point in the history
  2. events: code consistency

    v8 likes when smaller functions have a single return point, and cleaned
    up the single non-strict check.
    trevnorris committed Mar 4, 2013
    Copy the full SHA
    d09ab61 View commit details
    Browse the repository at this point in the history