Browse Source

无JIRA任务 换一下deepExtend

es6
windy 6 years ago
parent
commit
4117224c60
  1. 19955
      dist/bundle.ie.js
  2. 8
      dist/bundle.ie.min.js
  3. 19953
      dist/bundle.js
  4. 8
      dist/bundle.min.js
  5. 20109
      dist/core.js
  6. 25
      dist/demo.js
  7. 19955
      dist/fineui.ie.js
  8. 8
      dist/fineui.ie.min.js
  9. 19953
      dist/fineui.js
  10. 8
      dist/fineui.min.js
  11. 20107
      dist/fineui_without_jquery_polyfill.js
  12. 20109
      dist/utils.js
  13. 6
      dist/utils.min.js
  14. 2
      lodash.md
  15. 7
      src/core/base.js
  16. 20044
      src/core/lodash.js

19955
dist/bundle.ie.js vendored

File diff suppressed because it is too large Load Diff

8
dist/bundle.ie.min.js vendored

File diff suppressed because one or more lines are too long

19953
dist/bundle.js vendored

File diff suppressed because it is too large Load Diff

8
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

20109
dist/core.js vendored

File diff suppressed because it is too large Load Diff

25
dist/demo.js vendored

@ -6126,7 +6126,30 @@ Demo.HtapeLayout = BI.inherit(BI.Widget, {
}; };
} }
}); });
BI.shortcut("demo.htape", Demo.HtapeLayout);/** BI.shortcut("demo.htape", Demo.HtapeLayout);Demo.InlineVerticalLayout = BI.inherit(BI.Widget, {
props: {
baseCls: "demo-absolute"
},
render: function () {
return {
type: "bi.inline_vertical_adapt",
items: [{
type: "bi.label",
text: "绝对布局",
cls: "layout-bg1",
width: 300,
height: 200
}, {
type: "bi.label",
text: "绝对布局",
cls: "layout-bg1",
width: 300,
height: 100
}]
};
}
});
BI.shortcut("demo.inline_vertical", Demo.InlineVerticalLayout);/**
* Created by User on 2017/3/22. * Created by User on 2017/3/22.
*/ */
Demo.LeftRightVerticalAdaptLayout = BI.inherit(BI.Widget, { Demo.LeftRightVerticalAdaptLayout = BI.inherit(BI.Widget, {

19955
dist/fineui.ie.js vendored

File diff suppressed because it is too large Load Diff

8
dist/fineui.ie.min.js vendored

File diff suppressed because one or more lines are too long

19953
dist/fineui.js vendored

File diff suppressed because it is too large Load Diff

8
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

20107
dist/fineui_without_jquery_polyfill.js vendored

File diff suppressed because it is too large Load Diff

20109
dist/utils.js vendored

File diff suppressed because it is too large Load Diff

6
dist/utils.min.js vendored

File diff suppressed because one or more lines are too long

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,trim" 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,merge"

7
src/core/base.js

@ -564,6 +564,7 @@ if (!_global.BI) {
// deep方法 // deep方法
_.extend(BI, { _.extend(BI, {
deepClone: _.cloneDeep, deepClone: _.cloneDeep,
deepExtend: _.merge,
isDeepMatch: function (object, attrs) { isDeepMatch: function (object, attrs) {
var keys = BI.keys(attrs), length = keys.length; var keys = BI.keys(attrs), length = keys.length;
@ -676,12 +677,6 @@ if (!_global.BI) {
} }
} }
return result; return result;
},
deepExtend: function () {
var args = [].slice.call(arguments);
args.unshift(true);
return $.extend.apply($, args);
} }
}); });

20044
src/core/lodash.js

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