events: ensure usingDomain is always boolean

Small addition to ensure that exports.usingDomains is always a bool.
This commit is contained in:
Trevor Norris 2013-02-20 14:52:46 -08:00 committed by isaacs
parent 75305f3bab
commit 8ca43a7f40

View File

@ -22,6 +22,8 @@
var isArray = Array.isArray;
var domain;
exports.usingDomains = false;
function EventEmitter() {
this.domain = null;
if (exports.usingDomains) {