Browse Source

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

* commit '938e6cd2994245b87ba76ba21566f6f3f0bbc133':
  update
es6
Dailer 6 years ago
parent
commit
df8756410d
  1. 15
      dist/fix/fix.compact.js

15
dist/fix/fix.compact.js vendored

@ -217,6 +217,21 @@
}
return values;
};
BI.extend = function () {
var args = Array.prototype.slice.call(arguments);
if (args.length < 1) {
return {};
}
var object = args[0];
var i = 1;
while (i < args.length) {
BI.each(args[i], function (key, v) {
object[key] = v;
});
i++;
}
return object;
};
BI.size = function (ob) {
if (BI.isPlainObject(ob) && ob.__ob__) {
return BI.keys(ob).length;

Loading…
Cancel
Save