Skip to content

Commit

Permalink
-- logic improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
medikoo committed Jan 22, 2015
1 parent 8f18f8b commit d673180
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Expand Up @@ -34,7 +34,7 @@ byObserver = function (Observer) {

module.exports = (function () {
// Node.js
if ((typeof process !== 'undefined') && process &&
if ((typeof process === 'object') && process &&
(typeof process.nextTick === 'function')) {
return process.nextTick;
}
Expand Down

0 comments on commit d673180

Please sign in to comment.