From d748316b0a1ef9f323edd5c9eac899f221c7fa13 Mon Sep 17 00:00:00 2001 From: Brian Cavalier Date: Mon, 27 Apr 2015 08:36:23 -0400 Subject: [PATCH] Update changelog, rebuild shim --- CHANGES.md | 6 ++++++ es6-shim/Promise.js | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGES.md b/CHANGES.md index 561bcddf..5c8eaf14 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -1,3 +1,9 @@ +### 3.7.3 + +* Fix console.log check when using `monitor/console` in IE8. +* Fix issues with webpack environment and fake timers. +* Several community-contributed doc fixes. Thanks! + ### 3.7.2 * Republish 3.7.1 npm package: for some reason, `npm publish` did not include the file `poll.js` when publishing 3.7.1 diff --git a/es6-shim/Promise.js b/es6-shim/Promise.js index 875aaa1a..e97f1aa6 100644 --- a/es6-shim/Promise.js +++ b/es6-shim/Promise.js @@ -247,8 +247,8 @@ define(function(require) { }; function isNode () { - return typeof process !== 'undefined' && process !== null && - typeof process.nextTick === 'function'; + return typeof process !== 'undefined' && + Object.prototype.toString.call(process) === '[object process]'; } function hasMutationObserver () {