Permalink
Browse files

Merge pull request #52 from mmalecki/better-browser-check

[api] Check for existence of `process.title`
  • Loading branch information...
2 parents 7c5304b + 742c0cf commit 60a08f06fc2d5e25ae7f8a38168b3702b18c280d Charlie Robbins committed Feb 12, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/eventemitter2.js
View
@@ -544,4 +544,4 @@
exports.EventEmitter2 = EventEmitter;
}
-}(typeof process !== 'undefined' && process.title ? exports : window);
+}(typeof process !== 'undefined' && typeof process.title !== 'undefined' ? exports : window);

0 comments on commit 60a08f0

Please sign in to comment.