Update async.md

根据后面generator和async的写法,这里似乎应该用of。
This commit is contained in:
UFOwl
2016-06-20 16:20:05 +08:00
committed by GitHub
parent 550df8c3b8
commit bea8187933
+1 -1
View File
@@ -1171,7 +1171,7 @@ function chainAnimationsPromise(elem, animations) {
var p = Promise.resolve();
// 使用then方法,添加所有动画
for(var anim in animations) {
for(var anim of animations) {
p = p.then(function(val) {
ret = val;
return anim(elem);