Browse files

[dist] version bump, [lib] update to environment check

  • Loading branch information...
1 parent 6f165e1 commit efbaf3b66560f73795fc59656fecf3c9eb639479 Paolo Fragomeni committed Feb 4, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 lib/eventemitter2.js
  2. +1 −1 package.json
View
2 lib/eventemitter2.js
@@ -538,4 +538,4 @@
exports.EventEmitter2 = EventEmitter;
}
-}(typeof window !== 'undefined' ? window : exports);
+}(typeof process !== 'undefined' && process.title ? exports : window);
View
2 package.json
@@ -1,6 +1,6 @@
{
"name": "eventemitter2",
- "version": "0.4.5",
+ "version": "0.4.6",
"description": "A Node.js event emitter implementation with namespaces, wildcards, TTL and browser support.",
"keywords": ["event", "events", "emitter", "eventemitter"],
"author": "hij1nx <hij1nx@nodejitsu.com> http://twitter.com/hij1nx",

0 comments on commit efbaf3b

Please sign in to comment.