guy 6 years ago
parent
commit
46e54f9119
  1. 2
      dist/_fineui.min.js
  2. 16
      dist/bundle.js
  3. 2
      dist/bundle.min.js
  4. 16
      dist/fineui.js
  5. 2
      dist/fineui.min.js
  6. 16
      dist/fix/fix.js

2
dist/_fineui.min.js vendored

File diff suppressed because one or more lines are too long

16
dist/bundle.js vendored

@ -35343,14 +35343,14 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
var fns = exps.slice(); var fns = exps.slice();
var complete = false, var complete = false,
running = false; running = false;
var callback = function callback(index, newValue, oldValue, options) { var callback = function callback(index, newValue, oldValue, attrs) {
if (complete === true) { if (complete === true) {
return; return;
} }
fns[index] = true; fns[index] = true;
if (runBinaryFunction(fns)) { if (runBinaryFunction(fns)) {
complete = true; complete = true;
cb(newValue, oldValue, options); cb(newValue, oldValue, attrs);
} }
if (options && options.sync) { if (options && options.sync) {
complete = false; complete = false;
@ -35394,8 +35394,8 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
var w = new Watcher(model, function () { var w = new Watcher(model, function () {
dep.depend(); dep.depend();
return NaN; return NaN;
}, function (newValue, oldValue, opt) { }, function (newValue, oldValue, attrs) {
callback(i, newValue, oldValue, _.extend({ index: i }, opt)); callback(i, newValue, oldValue, _.extend({ index: i }, attrs));
}, options); }, options);
watchers.push(function unwatchFn() { watchers.push(function unwatchFn() {
w.teardown(); w.teardown();
@ -35435,8 +35435,8 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
var _w = new Watcher(currentModel, function () { var _w = new Watcher(currentModel, function () {
_dep.depend(); _dep.depend();
return NaN; return NaN;
}, function (newValue, oldValue, opt) { }, function (newValue, oldValue, attrs) {
callback(i, newValue, oldValue, _.extend({ index: i }, opt)); callback(i, newValue, oldValue, _.extend({ index: i }, attrs));
}, options); }, options);
watchers.push(function unwatchFn() { watchers.push(function unwatchFn() {
_w.teardown(); _w.teardown();
@ -35444,8 +35444,8 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
}); });
return; return;
} }
var watcher = new Watcher(model, exp, function (newValue, oldValue, opt) { var watcher = new Watcher(model, exp, function (newValue, oldValue, attrs) {
callback(i, newValue, oldValue, _.extend({ index: i }, opt)); callback(i, newValue, oldValue, _.extend({ index: i }, attrs));
}, options); }, options);
watchers.push(function unwatchFn() { watchers.push(function unwatchFn() {
watcher.teardown(); watcher.teardown();

2
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

16
dist/fineui.js vendored

@ -35586,14 +35586,14 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
var fns = exps.slice(); var fns = exps.slice();
var complete = false, var complete = false,
running = false; running = false;
var callback = function callback(index, newValue, oldValue, options) { var callback = function callback(index, newValue, oldValue, attrs) {
if (complete === true) { if (complete === true) {
return; return;
} }
fns[index] = true; fns[index] = true;
if (runBinaryFunction(fns)) { if (runBinaryFunction(fns)) {
complete = true; complete = true;
cb(newValue, oldValue, options); cb(newValue, oldValue, attrs);
} }
if (options && options.sync) { if (options && options.sync) {
complete = false; complete = false;
@ -35637,8 +35637,8 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
var w = new Watcher(model, function () { var w = new Watcher(model, function () {
dep.depend(); dep.depend();
return NaN; return NaN;
}, function (newValue, oldValue, opt) { }, function (newValue, oldValue, attrs) {
callback(i, newValue, oldValue, _.extend({ index: i }, opt)); callback(i, newValue, oldValue, _.extend({ index: i }, attrs));
}, options); }, options);
watchers.push(function unwatchFn() { watchers.push(function unwatchFn() {
w.teardown(); w.teardown();
@ -35678,8 +35678,8 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
var _w = new Watcher(currentModel, function () { var _w = new Watcher(currentModel, function () {
_dep.depend(); _dep.depend();
return NaN; return NaN;
}, function (newValue, oldValue, opt) { }, function (newValue, oldValue, attrs) {
callback(i, newValue, oldValue, _.extend({ index: i }, opt)); callback(i, newValue, oldValue, _.extend({ index: i }, attrs));
}, options); }, options);
watchers.push(function unwatchFn() { watchers.push(function unwatchFn() {
_w.teardown(); _w.teardown();
@ -35687,8 +35687,8 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
}); });
return; return;
} }
var watcher = new Watcher(model, exp, function (newValue, oldValue, opt) { var watcher = new Watcher(model, exp, function (newValue, oldValue, attrs) {
callback(i, newValue, oldValue, _.extend({ index: i }, opt)); callback(i, newValue, oldValue, _.extend({ index: i }, attrs));
}, options); }, options);
watchers.push(function unwatchFn() { watchers.push(function unwatchFn() {
watcher.teardown(); watcher.teardown();

2
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

16
dist/fix/fix.js vendored

@ -948,14 +948,14 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
var fns = exps.slice(); var fns = exps.slice();
var complete = false, var complete = false,
running = false; running = false;
var callback = function callback(index, newValue, oldValue, options) { var callback = function callback(index, newValue, oldValue, attrs) {
if (complete === true) { if (complete === true) {
return; return;
} }
fns[index] = true; fns[index] = true;
if (runBinaryFunction(fns)) { if (runBinaryFunction(fns)) {
complete = true; complete = true;
cb(newValue, oldValue, options); cb(newValue, oldValue, attrs);
} }
if (options && options.sync) { if (options && options.sync) {
complete = false; complete = false;
@ -999,8 +999,8 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
var w = new Watcher(model, function () { var w = new Watcher(model, function () {
dep.depend(); dep.depend();
return NaN; return NaN;
}, function (newValue, oldValue, opt) { }, function (newValue, oldValue, attrs) {
callback(i, newValue, oldValue, _.extend({ index: i }, opt)); callback(i, newValue, oldValue, _.extend({ index: i }, attrs));
}, options); }, options);
watchers.push(function unwatchFn() { watchers.push(function unwatchFn() {
w.teardown(); w.teardown();
@ -1040,8 +1040,8 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
var _w = new Watcher(currentModel, function () { var _w = new Watcher(currentModel, function () {
_dep.depend(); _dep.depend();
return NaN; return NaN;
}, function (newValue, oldValue, opt) { }, function (newValue, oldValue, attrs) {
callback(i, newValue, oldValue, _.extend({ index: i }, opt)); callback(i, newValue, oldValue, _.extend({ index: i }, attrs));
}, options); }, options);
watchers.push(function unwatchFn() { watchers.push(function unwatchFn() {
_w.teardown(); _w.teardown();
@ -1049,8 +1049,8 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
}); });
return; return;
} }
var watcher = new Watcher(model, exp, function (newValue, oldValue, opt) { var watcher = new Watcher(model, exp, function (newValue, oldValue, attrs) {
callback(i, newValue, oldValue, _.extend({ index: i }, opt)); callback(i, newValue, oldValue, _.extend({ index: i }, attrs));
}, options); }, options);
watchers.push(function unwatchFn() { watchers.push(function unwatchFn() {
watcher.teardown(); watcher.teardown();

Loading…
Cancel
Save