Browse Source

Merge pull request #572 in VISUAL/fineui from ~IMP/fineui_fui:master to master

* commit 'e5970963ebe78da3f3bb309989d577f91700d683':
  移动端utils方法
es6
imp 6 years ago
parent
commit
24579da086
  1. 18811
      dist/bundle.js
  2. 19967
      dist/core.js
  3. 18811
      dist/fineui.js
  4. 19965
      dist/utils.js
  5. 2
      lodash.md
  6. 758
      package-lock.json
  7. 8
      src/core/base.js
  8. 19913
      src/core/lodash.js

18811
dist/bundle.js vendored

File diff suppressed because it is too large Load Diff

19967
dist/core.js vendored

File diff suppressed because it is too large Load Diff

18811
dist/fineui.js vendored

File diff suppressed because it is too large Load Diff

19965
dist/utils.js vendored

File diff suppressed because it is too large Load Diff

2
lodash.md

@ -1 +1 @@
lodash core plus="debounce,throttle,get,findIndex,findLastIndex,findKey,findLastKey,isArrayLike,invert,invertBy,uniq,uniqBy,omit,omitBy,zip,unzip,rest,range,random,reject,intersection,drop,countBy,union,zipObject,initial,cloneDeep,clamp,isPlainObject,take,takeRight,without,difference,defaultsDeep lodash core plus="debounce,throttle,get,findIndex,findLastIndex,findKey,findLastKey,isArrayLike,invert,invertBy,uniq,uniqBy,omit,omitBy,zip,unzip,rest,range,random,reject,intersection,drop,countBy,union,zipObject,initial,cloneDeep,clamp,isPlainObject,take,takeRight,without,difference,defaultsDeep,trim"

758
package-lock.json generated

File diff suppressed because it is too large Load Diff

8
src/core/base.js

@ -521,8 +521,8 @@ if (!window.BI) {
return BI.isString(obj) && !BI.isEmptyString(obj); return BI.isString(obj) && !BI.isEmptyString(obj);
}, },
isWindow: function () { isWindow: function (obj) {
return $.isWindow.apply($, arguments); return obj != null && obj == obj.window;
} }
}); });
@ -805,7 +805,7 @@ if (!window.BI) {
}, },
isNumeric: function (number) { isNumeric: function (number) {
return $.isNumeric(number); return !isNaN( parseFloat(number) ) && isFinite( number );
}, },
isFloat: function (number) { isFloat: function (number) {
@ -850,7 +850,7 @@ if (!window.BI) {
// 字符串相关方法 // 字符串相关方法
_.extend(BI, { _.extend(BI, {
trim: function () { trim: function () {
return $.trim.apply($, arguments); return _.trim.apply(_, arguments);
}, },
toUpperCase: function (string) { toUpperCase: function (string) {

19913
src/core/lodash.js

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save