|
|
@ -959,7 +959,8 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons |
|
|
|
} |
|
|
|
} |
|
|
|
var watchers = []; |
|
|
|
var watchers = []; |
|
|
|
var fns = exps.slice(); |
|
|
|
var fns = exps.slice(); |
|
|
|
var complete = false; |
|
|
|
var complete = false, |
|
|
|
|
|
|
|
running = false; |
|
|
|
_.each(exps, function (exp, i) { |
|
|
|
_.each(exps, function (exp, i) { |
|
|
|
if (_.has(operators, exp)) { |
|
|
|
if (_.has(operators, exp)) { |
|
|
|
return; |
|
|
|
return; |
|
|
@ -972,9 +973,13 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons |
|
|
|
if (runBinaryFunction(fns)) { |
|
|
|
if (runBinaryFunction(fns)) { |
|
|
|
complete = true; |
|
|
|
complete = true; |
|
|
|
cb.call(vm); |
|
|
|
cb.call(vm); |
|
|
|
fns = exps.slice(); |
|
|
|
} |
|
|
|
|
|
|
|
if (!running) { |
|
|
|
|
|
|
|
running = true; |
|
|
|
nextTick(function () { |
|
|
|
nextTick(function () { |
|
|
|
complete = false; |
|
|
|
complete = false; |
|
|
|
|
|
|
|
running = false; |
|
|
|
|
|
|
|
fns = exps.slice(); |
|
|
|
}); |
|
|
|
}); |
|
|
|
} |
|
|
|
} |
|
|
|
}, options); |
|
|
|
}, options); |
|
|
|