guy 7 years ago
parent
commit
bfb5c5e821
  1. 2
      dist/bundle.js
  2. 2
      dist/bundle.min.js
  3. 2
      dist/core.js
  4. 2
      dist/fineui.js
  5. 2
      dist/fineui.min.js
  6. 17
      dist/fix/fix.js
  7. 2
      src/core/base.js
  8. 2
      utils/utils.js

2
dist/bundle.js vendored

@ -11715,7 +11715,7 @@ if (!window.BI) {
clone = {}; clone = {};
for (var i in obj) { for (var i in obj) {
if (_.has(obj, i)) { if (BI.has(obj, i)) {
clone[i] = BI.deepClone(obj[i]); clone[i] = BI.deepClone(obj[i]);
} }
} }

2
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/core.js vendored

@ -11715,7 +11715,7 @@ if (!window.BI) {
clone = {}; clone = {};
for (var i in obj) { for (var i in obj) {
if (_.has(obj, i)) { if (BI.has(obj, i)) {
clone[i] = BI.deepClone(obj[i]); clone[i] = BI.deepClone(obj[i]);
} }
} }

2
dist/fineui.js vendored

@ -11888,7 +11888,7 @@ if (!window.BI) {
clone = {}; clone = {};
for (var i in obj) { for (var i in obj) {
if (_.has(obj, i)) { if (BI.has(obj, i)) {
clone[i] = BI.deepClone(obj[i]); clone[i] = BI.deepClone(obj[i]);
} }
} }

2
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

17
dist/fix/fix.js vendored

@ -1262,11 +1262,11 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
} }
this._parent = Model.target; this._parent = Model.target;
var state = _.isFunction(this.state) ? this.state() : this.state; var state = _.isFunction(this.state) ? this.state() : this.state;
var computed = _.isFunction(this.computed) ? this.computed() : this.computed; var computed = this.computed;
var context = _.isFunction(this.context) ? this.context() : this.context; var context = this.context;
var childContext = _.isFunction(this.childContext) ? this.childContext() : this.childContext; var childContext = this.childContext;
var watch$$1 = _.isFunction(this.watch) ? this.watch() : this.watch; var watch$$1 = this.watch;
var actions = _.isFunction(this.actions) ? this.actions() : this.actions; var actions = this.actions;
var keys = _.keys(this.$$model).concat(_.keys(state)).concat(_.keys(computed)).concat(context || []); var keys = _.keys(this.$$model).concat(_.keys(state)).concat(_.keys(computed)).concat(context || []);
defineProps(this, keys); defineProps(this, keys);
childContext && defineContext(this, childContext); childContext && defineContext(this, childContext);
@ -1303,13 +1303,6 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
return Model; return Model;
}(); }();
Model.prototype.state = {};
Model.prototype.computed = {};
Model.prototype.context = [];
Model.prototype.childContext = [];
Model.prototype.watch = {};
Model.prototype.actions = {};
function toJSON(model) { function toJSON(model) {
var result = void 0; var result = void 0;
if (_.isArray(model)) { if (_.isArray(model)) {

2
src/core/base.js

@ -565,7 +565,7 @@ if (!window.BI) {
clone = {}; clone = {};
for (var i in obj) { for (var i in obj) {
if (_.has(obj, i)) { if (BI.has(obj, i)) {
clone[i] = BI.deepClone(obj[i]); clone[i] = BI.deepClone(obj[i]);
} }
} }

2
utils/utils.js

@ -2722,7 +2722,7 @@ if (!window.BI) {
clone = {}; clone = {};
for (var i in obj) { for (var i in obj) {
if (_.has(obj, i)) { if (BI.has(obj, i)) {
clone[i] = BI.deepClone(obj[i]); clone[i] = BI.deepClone(obj[i]);
} }
} }

Loading…
Cancel
Save