Browse Source

Merge pull request #1071 in VISUAL/fineui from ~KIRA/fineui:master to master

* commit 'ef84a03ef896963dde6bd013e359ab9c8863ac7f':
  KERNEL-741 chore: build
  KERNEL-741 refactor: BI.freeze兼容ie
es6
Kira 5 years ago
parent
commit
35e1efec5e
  1. 16
      dist/2.0/fineui.ie.js
  2. 6
      dist/2.0/fineui.ie.min.js
  3. 16
      dist/2.0/fineui.js
  4. 6
      dist/2.0/fineui.min.js
  5. 16
      dist/bundle.ie.js
  6. 6
      dist/bundle.ie.min.js
  7. 16
      dist/bundle.js
  8. 6
      dist/bundle.min.js
  9. 16
      dist/core.js
  10. 16
      dist/fineui.ie.js
  11. 6
      dist/fineui.ie.min.js
  12. 16
      dist/fineui.js
  13. 6
      dist/fineui.min.js
  14. 16
      dist/fineui_without_jquery_polyfill.js
  15. 16
      dist/utils.js
  16. 10
      dist/utils.min.js
  17. 16
      src/core/base.js

16
dist/2.0/fineui.ie.js vendored

@ -10620,7 +10620,7 @@ if (!_global.BI) {
};
}
var F = function () {
}, spp = sp.prototype;
}, spp = sp.prototype;
F.prototype = spp;
sb.prototype = new F();
sb.superclass = spp;
@ -10650,14 +10650,12 @@ if (!_global.BI) {
},
freeze: function (value) {
if (Object.freeze) {
// 在ES5中,如果这个方法的参数不是一个对象(一个原始值),那么它会导致 TypeError
// 在ES2015中,非对象参数将被视为要被冻结的普通对象,并被简单地返回
if (Object.freeze && BI.isObject(value)) {
return Object.freeze(value);
} else {
if (!BI.isObject(value)) {
throw new TypeError('Object.freeze can only be called on Objects.');
}
return value;
}
return value;
},
// 数字和字符串可以作为key
@ -10856,7 +10854,7 @@ if (!_global.BI) {
var pending = false;
var timerFunc;
function nextTickHandler() {
function nextTickHandler () {
pending = false;
var copies = callbacks.slice(0);
callbacks = [];
@ -10889,7 +10887,7 @@ if (!_global.BI) {
setTimeout(nextTickHandler, 0);
};
}
return function queueNextTick(cb) {
return function queueNextTick (cb) {
var _resolve;
var args = [].slice.call(arguments, 1);
callbacks.push(function () {

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

File diff suppressed because one or more lines are too long

16
dist/2.0/fineui.js vendored

@ -10620,7 +10620,7 @@ if (!_global.BI) {
};
}
var F = function () {
}, spp = sp.prototype;
}, spp = sp.prototype;
F.prototype = spp;
sb.prototype = new F();
sb.superclass = spp;
@ -10650,14 +10650,12 @@ if (!_global.BI) {
},
freeze: function (value) {
if (Object.freeze) {
// 在ES5中,如果这个方法的参数不是一个对象(一个原始值),那么它会导致 TypeError
// 在ES2015中,非对象参数将被视为要被冻结的普通对象,并被简单地返回
if (Object.freeze && BI.isObject(value)) {
return Object.freeze(value);
} else {
if (!BI.isObject(value)) {
throw new TypeError('Object.freeze can only be called on Objects.');
}
return value;
}
return value;
},
// 数字和字符串可以作为key
@ -10856,7 +10854,7 @@ if (!_global.BI) {
var pending = false;
var timerFunc;
function nextTickHandler() {
function nextTickHandler () {
pending = false;
var copies = callbacks.slice(0);
callbacks = [];
@ -10889,7 +10887,7 @@ if (!_global.BI) {
setTimeout(nextTickHandler, 0);
};
}
return function queueNextTick(cb) {
return function queueNextTick (cb) {
var _resolve;
var args = [].slice.call(arguments, 1);
callbacks.push(function () {

6
dist/2.0/fineui.min.js vendored

File diff suppressed because one or more lines are too long

16
dist/bundle.ie.js vendored

@ -10620,7 +10620,7 @@ if (!_global.BI) {
};
}
var F = function () {
}, spp = sp.prototype;
}, spp = sp.prototype;
F.prototype = spp;
sb.prototype = new F();
sb.superclass = spp;
@ -10650,14 +10650,12 @@ if (!_global.BI) {
},
freeze: function (value) {
if (Object.freeze) {
// 在ES5中,如果这个方法的参数不是一个对象(一个原始值),那么它会导致 TypeError
// 在ES2015中,非对象参数将被视为要被冻结的普通对象,并被简单地返回
if (Object.freeze && BI.isObject(value)) {
return Object.freeze(value);
} else {
if (!BI.isObject(value)) {
throw new TypeError('Object.freeze can only be called on Objects.');
}
return value;
}
return value;
},
// 数字和字符串可以作为key
@ -10856,7 +10854,7 @@ if (!_global.BI) {
var pending = false;
var timerFunc;
function nextTickHandler() {
function nextTickHandler () {
pending = false;
var copies = callbacks.slice(0);
callbacks = [];
@ -10889,7 +10887,7 @@ if (!_global.BI) {
setTimeout(nextTickHandler, 0);
};
}
return function queueNextTick(cb) {
return function queueNextTick (cb) {
var _resolve;
var args = [].slice.call(arguments, 1);
callbacks.push(function () {

6
dist/bundle.ie.min.js vendored

File diff suppressed because one or more lines are too long

16
dist/bundle.js vendored

@ -10620,7 +10620,7 @@ if (!_global.BI) {
};
}
var F = function () {
}, spp = sp.prototype;
}, spp = sp.prototype;
F.prototype = spp;
sb.prototype = new F();
sb.superclass = spp;
@ -10650,14 +10650,12 @@ if (!_global.BI) {
},
freeze: function (value) {
if (Object.freeze) {
// 在ES5中,如果这个方法的参数不是一个对象(一个原始值),那么它会导致 TypeError
// 在ES2015中,非对象参数将被视为要被冻结的普通对象,并被简单地返回
if (Object.freeze && BI.isObject(value)) {
return Object.freeze(value);
} else {
if (!BI.isObject(value)) {
throw new TypeError('Object.freeze can only be called on Objects.');
}
return value;
}
return value;
},
// 数字和字符串可以作为key
@ -10856,7 +10854,7 @@ if (!_global.BI) {
var pending = false;
var timerFunc;
function nextTickHandler() {
function nextTickHandler () {
pending = false;
var copies = callbacks.slice(0);
callbacks = [];
@ -10889,7 +10887,7 @@ if (!_global.BI) {
setTimeout(nextTickHandler, 0);
};
}
return function queueNextTick(cb) {
return function queueNextTick (cb) {
var _resolve;
var args = [].slice.call(arguments, 1);
callbacks.push(function () {

6
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

16
dist/core.js vendored

@ -10620,7 +10620,7 @@ if (!_global.BI) {
};
}
var F = function () {
}, spp = sp.prototype;
}, spp = sp.prototype;
F.prototype = spp;
sb.prototype = new F();
sb.superclass = spp;
@ -10650,14 +10650,12 @@ if (!_global.BI) {
},
freeze: function (value) {
if (Object.freeze) {
// 在ES5中,如果这个方法的参数不是一个对象(一个原始值),那么它会导致 TypeError
// 在ES2015中,非对象参数将被视为要被冻结的普通对象,并被简单地返回
if (Object.freeze && BI.isObject(value)) {
return Object.freeze(value);
} else {
if (!BI.isObject(value)) {
throw new TypeError('Object.freeze can only be called on Objects.');
}
return value;
}
return value;
},
// 数字和字符串可以作为key
@ -10856,7 +10854,7 @@ if (!_global.BI) {
var pending = false;
var timerFunc;
function nextTickHandler() {
function nextTickHandler () {
pending = false;
var copies = callbacks.slice(0);
callbacks = [];
@ -10889,7 +10887,7 @@ if (!_global.BI) {
setTimeout(nextTickHandler, 0);
};
}
return function queueNextTick(cb) {
return function queueNextTick (cb) {
var _resolve;
var args = [].slice.call(arguments, 1);
callbacks.push(function () {

16
dist/fineui.ie.js vendored

@ -10865,7 +10865,7 @@ if (!_global.BI) {
};
}
var F = function () {
}, spp = sp.prototype;
}, spp = sp.prototype;
F.prototype = spp;
sb.prototype = new F();
sb.superclass = spp;
@ -10895,14 +10895,12 @@ if (!_global.BI) {
},
freeze: function (value) {
if (Object.freeze) {
// 在ES5中,如果这个方法的参数不是一个对象(一个原始值),那么它会导致 TypeError
// 在ES2015中,非对象参数将被视为要被冻结的普通对象,并被简单地返回
if (Object.freeze && BI.isObject(value)) {
return Object.freeze(value);
} else {
if (!BI.isObject(value)) {
throw new TypeError('Object.freeze can only be called on Objects.');
}
return value;
}
return value;
},
// 数字和字符串可以作为key
@ -11101,7 +11099,7 @@ if (!_global.BI) {
var pending = false;
var timerFunc;
function nextTickHandler() {
function nextTickHandler () {
pending = false;
var copies = callbacks.slice(0);
callbacks = [];
@ -11134,7 +11132,7 @@ if (!_global.BI) {
setTimeout(nextTickHandler, 0);
};
}
return function queueNextTick(cb) {
return function queueNextTick (cb) {
var _resolve;
var args = [].slice.call(arguments, 1);
callbacks.push(function () {

6
dist/fineui.ie.min.js vendored

File diff suppressed because one or more lines are too long

16
dist/fineui.js vendored

@ -10865,7 +10865,7 @@ if (!_global.BI) {
};
}
var F = function () {
}, spp = sp.prototype;
}, spp = sp.prototype;
F.prototype = spp;
sb.prototype = new F();
sb.superclass = spp;
@ -10895,14 +10895,12 @@ if (!_global.BI) {
},
freeze: function (value) {
if (Object.freeze) {
// 在ES5中,如果这个方法的参数不是一个对象(一个原始值),那么它会导致 TypeError
// 在ES2015中,非对象参数将被视为要被冻结的普通对象,并被简单地返回
if (Object.freeze && BI.isObject(value)) {
return Object.freeze(value);
} else {
if (!BI.isObject(value)) {
throw new TypeError('Object.freeze can only be called on Objects.');
}
return value;
}
return value;
},
// 数字和字符串可以作为key
@ -11101,7 +11099,7 @@ if (!_global.BI) {
var pending = false;
var timerFunc;
function nextTickHandler() {
function nextTickHandler () {
pending = false;
var copies = callbacks.slice(0);
callbacks = [];
@ -11134,7 +11132,7 @@ if (!_global.BI) {
setTimeout(nextTickHandler, 0);
};
}
return function queueNextTick(cb) {
return function queueNextTick (cb) {
var _resolve;
var args = [].slice.call(arguments, 1);
callbacks.push(function () {

6
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

16
dist/fineui_without_jquery_polyfill.js vendored

@ -10620,7 +10620,7 @@ if (!_global.BI) {
};
}
var F = function () {
}, spp = sp.prototype;
}, spp = sp.prototype;
F.prototype = spp;
sb.prototype = new F();
sb.superclass = spp;
@ -10650,14 +10650,12 @@ if (!_global.BI) {
},
freeze: function (value) {
if (Object.freeze) {
// 在ES5中,如果这个方法的参数不是一个对象(一个原始值),那么它会导致 TypeError
// 在ES2015中,非对象参数将被视为要被冻结的普通对象,并被简单地返回
if (Object.freeze && BI.isObject(value)) {
return Object.freeze(value);
} else {
if (!BI.isObject(value)) {
throw new TypeError('Object.freeze can only be called on Objects.');
}
return value;
}
return value;
},
// 数字和字符串可以作为key
@ -10856,7 +10854,7 @@ if (!_global.BI) {
var pending = false;
var timerFunc;
function nextTickHandler() {
function nextTickHandler () {
pending = false;
var copies = callbacks.slice(0);
callbacks = [];
@ -10889,7 +10887,7 @@ if (!_global.BI) {
setTimeout(nextTickHandler, 0);
};
}
return function queueNextTick(cb) {
return function queueNextTick (cb) {
var _resolve;
var args = [].slice.call(arguments, 1);
callbacks.push(function () {

16
dist/utils.js vendored

@ -11399,7 +11399,7 @@ if (!_global.BI) {
};
}
var F = function () {
}, spp = sp.prototype;
}, spp = sp.prototype;
F.prototype = spp;
sb.prototype = new F();
sb.superclass = spp;
@ -11429,14 +11429,12 @@ if (!_global.BI) {
},
freeze: function (value) {
if (Object.freeze) {
// 在ES5中,如果这个方法的参数不是一个对象(一个原始值),那么它会导致 TypeError
// 在ES2015中,非对象参数将被视为要被冻结的普通对象,并被简单地返回
if (Object.freeze && BI.isObject(value)) {
return Object.freeze(value);
} else {
if (!BI.isObject(value)) {
throw new TypeError('Object.freeze can only be called on Objects.');
}
return value;
}
return value;
},
// 数字和字符串可以作为key
@ -11635,7 +11633,7 @@ if (!_global.BI) {
var pending = false;
var timerFunc;
function nextTickHandler() {
function nextTickHandler () {
pending = false;
var copies = callbacks.slice(0);
callbacks = [];
@ -11668,7 +11666,7 @@ if (!_global.BI) {
setTimeout(nextTickHandler, 0);
};
}
return function queueNextTick(cb) {
return function queueNextTick (cb) {
var _resolve;
var args = [].slice.call(arguments, 1);
callbacks.push(function () {

10
dist/utils.min.js vendored

File diff suppressed because one or more lines are too long

16
src/core/base.js

@ -441,7 +441,7 @@ if (!_global.BI) {
};
}
var F = function () {
}, spp = sp.prototype;
}, spp = sp.prototype;
F.prototype = spp;
sb.prototype = new F();
sb.superclass = spp;
@ -471,14 +471,12 @@ if (!_global.BI) {
},
freeze: function (value) {
if (Object.freeze) {
// 在ES5中,如果这个方法的参数不是一个对象(一个原始值),那么它会导致 TypeError
// 在ES2015中,非对象参数将被视为要被冻结的普通对象,并被简单地返回
if (Object.freeze && BI.isObject(value)) {
return Object.freeze(value);
} else {
if (!BI.isObject(value)) {
throw new TypeError('Object.freeze can only be called on Objects.');
}
return value;
}
return value;
},
// 数字和字符串可以作为key
@ -677,7 +675,7 @@ if (!_global.BI) {
var pending = false;
var timerFunc;
function nextTickHandler() {
function nextTickHandler () {
pending = false;
var copies = callbacks.slice(0);
callbacks = [];
@ -710,7 +708,7 @@ if (!_global.BI) {
setTimeout(nextTickHandler, 0);
};
}
return function queueNextTick(cb) {
return function queueNextTick (cb) {
var _resolve;
var args = [].slice.call(arguments, 1);
callbacks.push(function () {

Loading…
Cancel
Save