提交 b227d951 编写于 作者: NoSubject's avatar NoSubject

修复o2.promiseAll方法

上级 917c1ba2
......@@ -1973,7 +1973,7 @@ if (window.Promise && !Promise.any){
"then": function(s){
if (s){
var r = s(p);
return r || this;
return (r.then && o2.typeOf(r.then)=="function") ? r : this;
}
return this;
}
......@@ -1987,7 +1987,7 @@ if (window.Promise && !Promise.any){
"then": function(s){
if (s){
var r = s(p);
return r || this;
return (r.then && o2.typeOf(r.then)=="function") ? r : this;
}
return this;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册