typo fix for native Promise implementation
This commit is contained in:
parent
70eda0ad55
commit
676159ba62
|
@ -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 {
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue