Browse Source

Merge pull request #1224 in VISUAL/fineui from ~DAILER/fineui:master to master

* commit 'd1c049cde871fa43fc56143064201a61528a7512':
  fix: computed 属性 isShadowEqual 跳过function ,避免无限比较
es6
parent
commit
928f13248c
  1. 31
      dist/2.0/fineui.ie.js
  2. 2
      dist/2.0/fineui.ie.js.map
  3. 28
      dist/2.0/fineui.ie.min.js
  4. 2
      dist/2.0/fineui.ie.min.js.map
  5. 2
      dist/2.0/fineui.min.js
  6. 31
      dist/bundle.ie.js
  7. 2
      dist/bundle.ie.js.map
  8. 28
      dist/bundle.ie.min.js
  9. 2
      dist/bundle.ie.min.js.map
  10. 2
      dist/bundle.min.js
  11. 31
      dist/fineui.ie.js
  12. 2
      dist/fineui.ie.js.map
  13. 4
      dist/fineui.ie.min.js
  14. 2
      dist/fineui.ie.min.js.map
  15. 2
      dist/fineui.min.js
  16. 31
      dist/fix/fix.ie.js
  17. 2
      dist/utils.min.js

31
dist/2.0/fineui.ie.js vendored

@ -36999,7 +36999,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
args[_key] = arguments[_key];
}
return originalMethods["splice"].apply(this, args);
return originalMethods.splice.apply(this, args);
};
function noop(a, b, c) {}
@ -37091,6 +37091,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
} else {
result = model;
}
return result;
}
@ -37100,6 +37101,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
if (Array.isArray(obj)) {
var result = [].concat(obj);
if (obj.__ref__ !== undefined) result.__ref__ = obj.__ref__;
return result;
}
@ -37134,8 +37136,8 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
setImmediate(nextTickHandler);
};
} else if (typeof MessageChannel !== 'undefined' && (isNative(MessageChannel) ||
// PhantomJS
MessageChannel.toString() === '[object MessageChannelConstructor]')) {
// PhantomJS
MessageChannel.toString() === '[object MessageChannelConstructor]')) {
var channel = new MessageChannel();
var port = channel.port2;
channel.port1.onmessage = nextTickHandler;
@ -37183,7 +37185,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
}();
function inherit(sb, sp, overrides) {
if (typeof sp === "object") {
if (typeof sp === 'object') {
overrides = sp;
sp = sb;
sb = function temp() {
@ -37198,6 +37200,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
_$1.extend(sb.prototype, overrides, {
superclass: sp
});
return sb;
}
@ -37332,13 +37335,18 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
if (a && b && typeof a == 'object' && typeof b == 'object') {
if (a.constructor !== b.constructor) return false;
var length, i, key, keys;
var length = void 0,
i = void 0,
key = void 0,
keys = void 0;
if (Array.isArray(a)) {
length = a.length;
if (length != b.length) return false;
if (length !== b.length) return false;
for (i = length; i-- !== 0;) {
if (!isShadowEqual(a[i], b[i])) return false;
}return true;
}
return true;
}
if (a.constructor === RegExp) return true;
@ -37351,7 +37359,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
for (i = length; i-- !== 0;) {
if (!Object.prototype.hasOwnProperty.call(b, keys[i])) return false;
}for (i = length; i-- !== 0;) {
}
for (i = length; i-- !== 0;) {
key = keys[i];
if ($$skips.indexOf(key) !== -1) continue;
if (!isShadowEqual(a[key], b[key])) return false;
@ -37360,6 +37370,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
return true;
}
// skip function
if (typeof a === 'function') return true;
// true if both NaN, false otherwise
return a !== a && b !== b;
}
@ -37857,7 +37870,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
});
if (contextListeners.length !== 0 || asyncListeners.length !== 0) {
nextTick(function () {
_$1.each(BI.uniqBy(contextListeners.reverse(), "id").reverse(), function (listener) {
_$1.each(BI.uniqBy(contextListeners.reverse(), 'id').reverse(), function (listener) {
listener.cb();
});
_$1.each(asyncListeners, function (listener) {

2
dist/2.0/fineui.ie.js.map vendored

File diff suppressed because one or more lines are too long

28
dist/2.0/fineui.ie.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/2.0/fineui.ie.min.js.map vendored

File diff suppressed because one or more lines are too long

2
dist/2.0/fineui.min.js vendored

File diff suppressed because one or more lines are too long

31
dist/bundle.ie.js vendored

@ -36999,7 +36999,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
args[_key] = arguments[_key];
}
return originalMethods["splice"].apply(this, args);
return originalMethods.splice.apply(this, args);
};
function noop(a, b, c) {}
@ -37091,6 +37091,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
} else {
result = model;
}
return result;
}
@ -37100,6 +37101,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
if (Array.isArray(obj)) {
var result = [].concat(obj);
if (obj.__ref__ !== undefined) result.__ref__ = obj.__ref__;
return result;
}
@ -37134,8 +37136,8 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
setImmediate(nextTickHandler);
};
} else if (typeof MessageChannel !== 'undefined' && (isNative(MessageChannel) ||
// PhantomJS
MessageChannel.toString() === '[object MessageChannelConstructor]')) {
// PhantomJS
MessageChannel.toString() === '[object MessageChannelConstructor]')) {
var channel = new MessageChannel();
var port = channel.port2;
channel.port1.onmessage = nextTickHandler;
@ -37183,7 +37185,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
}();
function inherit(sb, sp, overrides) {
if (typeof sp === "object") {
if (typeof sp === 'object') {
overrides = sp;
sp = sb;
sb = function temp() {
@ -37198,6 +37200,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
_$1.extend(sb.prototype, overrides, {
superclass: sp
});
return sb;
}
@ -37332,13 +37335,18 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
if (a && b && typeof a == 'object' && typeof b == 'object') {
if (a.constructor !== b.constructor) return false;
var length, i, key, keys;
var length = void 0,
i = void 0,
key = void 0,
keys = void 0;
if (Array.isArray(a)) {
length = a.length;
if (length != b.length) return false;
if (length !== b.length) return false;
for (i = length; i-- !== 0;) {
if (!isShadowEqual(a[i], b[i])) return false;
}return true;
}
return true;
}
if (a.constructor === RegExp) return true;
@ -37351,7 +37359,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
for (i = length; i-- !== 0;) {
if (!Object.prototype.hasOwnProperty.call(b, keys[i])) return false;
}for (i = length; i-- !== 0;) {
}
for (i = length; i-- !== 0;) {
key = keys[i];
if ($$skips.indexOf(key) !== -1) continue;
if (!isShadowEqual(a[key], b[key])) return false;
@ -37360,6 +37370,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
return true;
}
// skip function
if (typeof a === 'function') return true;
// true if both NaN, false otherwise
return a !== a && b !== b;
}
@ -37857,7 +37870,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
});
if (contextListeners.length !== 0 || asyncListeners.length !== 0) {
nextTick(function () {
_$1.each(BI.uniqBy(contextListeners.reverse(), "id").reverse(), function (listener) {
_$1.each(BI.uniqBy(contextListeners.reverse(), 'id').reverse(), function (listener) {
listener.cb();
});
_$1.each(asyncListeners, function (listener) {

2
dist/bundle.ie.js.map vendored

File diff suppressed because one or more lines are too long

28
dist/bundle.ie.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/bundle.ie.min.js.map vendored

File diff suppressed because one or more lines are too long

2
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

31
dist/fineui.ie.js vendored

@ -37246,7 +37246,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
args[_key] = arguments[_key];
}
return originalMethods["splice"].apply(this, args);
return originalMethods.splice.apply(this, args);
};
function noop(a, b, c) {}
@ -37338,6 +37338,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
} else {
result = model;
}
return result;
}
@ -37347,6 +37348,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
if (Array.isArray(obj)) {
var result = [].concat(obj);
if (obj.__ref__ !== undefined) result.__ref__ = obj.__ref__;
return result;
}
@ -37381,8 +37383,8 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
setImmediate(nextTickHandler);
};
} else if (typeof MessageChannel !== 'undefined' && (isNative(MessageChannel) ||
// PhantomJS
MessageChannel.toString() === '[object MessageChannelConstructor]')) {
// PhantomJS
MessageChannel.toString() === '[object MessageChannelConstructor]')) {
var channel = new MessageChannel();
var port = channel.port2;
channel.port1.onmessage = nextTickHandler;
@ -37430,7 +37432,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
}();
function inherit(sb, sp, overrides) {
if (typeof sp === "object") {
if (typeof sp === 'object') {
overrides = sp;
sp = sb;
sb = function temp() {
@ -37445,6 +37447,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
_$1.extend(sb.prototype, overrides, {
superclass: sp
});
return sb;
}
@ -37579,13 +37582,18 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
if (a && b && typeof a == 'object' && typeof b == 'object') {
if (a.constructor !== b.constructor) return false;
var length, i, key, keys;
var length = void 0,
i = void 0,
key = void 0,
keys = void 0;
if (Array.isArray(a)) {
length = a.length;
if (length != b.length) return false;
if (length !== b.length) return false;
for (i = length; i-- !== 0;) {
if (!isShadowEqual(a[i], b[i])) return false;
}return true;
}
return true;
}
if (a.constructor === RegExp) return true;
@ -37598,7 +37606,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
for (i = length; i-- !== 0;) {
if (!Object.prototype.hasOwnProperty.call(b, keys[i])) return false;
}for (i = length; i-- !== 0;) {
}
for (i = length; i-- !== 0;) {
key = keys[i];
if ($$skips.indexOf(key) !== -1) continue;
if (!isShadowEqual(a[key], b[key])) return false;
@ -37607,6 +37617,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
return true;
}
// skip function
if (typeof a === 'function') return true;
// true if both NaN, false otherwise
return a !== a && b !== b;
}
@ -38104,7 +38117,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
});
if (contextListeners.length !== 0 || asyncListeners.length !== 0) {
nextTick(function () {
_$1.each(BI.uniqBy(contextListeners.reverse(), "id").reverse(), function (listener) {
_$1.each(BI.uniqBy(contextListeners.reverse(), 'id').reverse(), function (listener) {
listener.cb();
});
_$1.each(asyncListeners, function (listener) {

2
dist/fineui.ie.js.map vendored

File diff suppressed because one or more lines are too long

4
dist/fineui.ie.min.js vendored

File diff suppressed because one or more lines are too long

2
dist/fineui.ie.min.js.map vendored

File diff suppressed because one or more lines are too long

2
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

31
dist/fix/fix.ie.js vendored

@ -45,7 +45,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
args[_key] = arguments[_key];
}
return originalMethods["splice"].apply(this, args);
return originalMethods.splice.apply(this, args);
};
function noop(a, b, c) {}
@ -137,6 +137,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
} else {
result = model;
}
return result;
}
@ -146,6 +147,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
if (Array.isArray(obj)) {
var result = [].concat(obj);
if (obj.__ref__ !== undefined) result.__ref__ = obj.__ref__;
return result;
}
@ -180,8 +182,8 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
setImmediate(nextTickHandler);
};
} else if (typeof MessageChannel !== 'undefined' && (isNative(MessageChannel) ||
// PhantomJS
MessageChannel.toString() === '[object MessageChannelConstructor]')) {
// PhantomJS
MessageChannel.toString() === '[object MessageChannelConstructor]')) {
var channel = new MessageChannel();
var port = channel.port2;
channel.port1.onmessage = nextTickHandler;
@ -229,7 +231,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
}();
function inherit(sb, sp, overrides) {
if (typeof sp === "object") {
if (typeof sp === 'object') {
overrides = sp;
sp = sb;
sb = function temp() {
@ -244,6 +246,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
_$1.extend(sb.prototype, overrides, {
superclass: sp
});
return sb;
}
@ -378,13 +381,18 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
if (a && b && typeof a == 'object' && typeof b == 'object') {
if (a.constructor !== b.constructor) return false;
var length, i, key, keys;
var length = void 0,
i = void 0,
key = void 0,
keys = void 0;
if (Array.isArray(a)) {
length = a.length;
if (length != b.length) return false;
if (length !== b.length) return false;
for (i = length; i-- !== 0;) {
if (!isShadowEqual(a[i], b[i])) return false;
}return true;
}
return true;
}
if (a.constructor === RegExp) return true;
@ -397,7 +405,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
for (i = length; i-- !== 0;) {
if (!Object.prototype.hasOwnProperty.call(b, keys[i])) return false;
}for (i = length; i-- !== 0;) {
}
for (i = length; i-- !== 0;) {
key = keys[i];
if ($$skips.indexOf(key) !== -1) continue;
if (!isShadowEqual(a[key], b[key])) return false;
@ -406,6 +416,9 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
return true;
}
// skip function
if (typeof a === 'function') return true;
// true if both NaN, false otherwise
return a !== a && b !== b;
}
@ -903,7 +916,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
});
if (contextListeners.length !== 0 || asyncListeners.length !== 0) {
nextTick(function () {
_$1.each(BI.uniqBy(contextListeners.reverse(), "id").reverse(), function (listener) {
_$1.each(BI.uniqBy(contextListeners.reverse(), 'id').reverse(), function (listener) {
listener.cb();
});
_$1.each(asyncListeners, function (listener) {

2
dist/utils.min.js vendored

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save