events: ensure usingDomain is always boolean

Small addition to ensure that exports.usingDomains is always a bool.
This commit is contained in:
Trevor Norris authored and isaacs committed 2013-03-01 17:36:47 -08:00
1 parent 75305f3bab
commit 8ca43a7f40
1 file changed
+2
+2
View File
@@ -22,6 +22,8 @@
var isArray = Array.isArray;
var domain;
exports.usingDomains = false;
function EventEmitter() {
this.domain = null;
if (exports.usingDomains) {