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

Commit

Permalink
events: ensure usingDomain is always boolean
Browse files Browse the repository at this point in the history
Small addition to ensure that exports.usingDomains is always a bool.
  • Loading branch information
trevnorris authored and isaacs committed Mar 2, 2013
1 parent 75305f3 commit 8ca43a7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/events.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@
var isArray = Array.isArray;
var domain;

exports.usingDomains = false;

function EventEmitter() {
this.domain = null;
if (exports.usingDomains) {
Expand Down

0 comments on commit 8ca43a7

Please sign in to comment.