promise correct result

This commit is contained in:
AJ ONeal 2015-01-07 00:55:18 -07:00
parent f761f9215c
commit c8875d8d40
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@
}
if (!ret || !ret.then) {
ret = PromiseA.resolve(result);
ret = PromiseA.resolve(ret);
}
return ret.then(function (val) {