projects
/
platform
/
upstream
/
nodejs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
75305f3
)
events: ensure usingDomain is always boolean
author
Trevor Norris
<trev.norris@gmail.com>
Wed, 20 Feb 2013 22:52:46 +0000
(14:52 -0800)
committer
isaacs
<i@izs.me>
Sat, 2 Mar 2013 01:36:47 +0000
(17:36 -0800)
Small addition to ensure that exports.usingDomains is always a bool.
lib/events.js
patch
|
blob
|
history
diff --git
a/lib/events.js
b/lib/events.js
index
69af3ae
..
443de4b
100644
(file)
--- a/
lib/events.js
+++ b/
lib/events.js
@@
-22,6
+22,8
@@
var isArray = Array.isArray;
var domain;
+exports.usingDomains = false;
+
function EventEmitter() {
this.domain = null;
if (exports.usingDomains) {