typo fix for native Promise implementation

This commit is contained in:
AJ ONeal 2015-01-05 23:20:29 -07:00
父節點 70eda0ad55
當前提交 676159ba62
共有 2 個檔案被更改,包括 2 行新增2 行删除

查看文件

@ -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",