events: cache `domain` module locally
authorMaciej Małecki <maciej.malecki@notimplemented.org>
Sun, 17 Jun 2012 09:50:40 +0000 (11:50 +0200)
committerisaacs <i@izs.me>
Sun, 17 Jun 2012 20:07:20 +0000 (13:07 -0700)
commit3db2e034c44ccf6ef10aa8d648f8230f60272595
tree61e929d664956619b66d60afc635788ad7f153bf
parent71a2a2caa69865add8065cb0e282096e3f4d78f6
events: cache `domain` module locally

It's faster than calling `require` every time we create an
`EventEmitter`.
lib/events.js