typo fix for native Promise implementation

This commit is contained in:
AJ ONeal 2015-01-05 23:20:29 -07:00
parent 70eda0ad55
commit 676159ba62
2 changed files with 2 additions and 2 deletions

View File

@ -65,7 +65,7 @@
try {
exp.forEachAsync = create(require('bluebird'));
} catch(e) {
if ('undefined' !== typeof PromiseA) {
if ('undefined' !== typeof Promise) {
exp.forEachAsync = create(Promise);
} else {
try {

View File

@ -1,6 +1,6 @@
{
"name": "foreachasync",
"version": "5.0.2",
"version": "5.0.3",
"description": "A node- and browser-ready async (now with promises) counterpart of Array.prototype.forEach",
"homepage": "https://github.com/FuturesJS/forEachAsync",
"main": "forEachAsync.js",