Browse Source

contains

es6
Young 7 years ago
parent
commit
3e6da9cb49
  1. 2
      dist/core.js
  2. 2
      dist/fineui.js
  3. 2
      src/core/base.js

2
dist/core.js vendored

@ -28304,6 +28304,8 @@ BI.extend(BI.DOM, {
}
if (!points[type][action]) {
points[type][action] = {};
}
if (!points[type][action][after ? "after" : "before"]) {
points[type][action][after ? "after" : "before"] = [];
}
points[type][action][after ? "after" : "before"].push(pointFn);

2
dist/fineui.js vendored

@ -28547,6 +28547,8 @@ BI.extend(BI.DOM, {
}
if (!points[type][action]) {
points[type][action] = {};
}
if (!points[type][action][after ? "after" : "before"]) {
points[type][action][after ? "after" : "before"] = [];
}
points[type][action][after ? "after" : "before"].push(pointFn);

2
src/core/base.js

@ -159,7 +159,7 @@ if (!window.BI) {
});
// 集合相关方法
_.each(["where", "findWhere", "contains", "invoke", "pluck", "shuffle", "sample", "toArray", "size"], function (name) {
_.each(["where", "findWhere", "invoke", "pluck", "shuffle", "sample", "toArray", "size"], function (name) {
BI[name] = _apply(name);
});
_.each(["get", "each", "map", "reduce", "reduceRight", "find", "filter", "reject", "every", "all", "some", "any", "max", "min",

Loading…
Cancel
Save