guy 7 years ago
parent
commit
3706995efd
  1. 9
      dist/fix/fix.js

9
dist/fix/fix.js vendored

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

Loading…
Cancel
Save