Browse Source

无JIRA任务 pushDistinct实现

es6
windy 6 years ago
parent
commit
6873938b77
  1. 4
      dist/bundle.js
  2. 4
      dist/bundle.min.js
  3. 4
      dist/core.js
  4. 4
      dist/fineui.js
  5. 4
      dist/fineui.min.js
  6. 4
      dist/fineui_without_jquery_polyfill.js
  7. 2
      dist/utils.min.js
  8. 4
      src/core/func/array.js

4
dist/bundle.js vendored

@ -17650,13 +17650,13 @@ _.extend(BI, {
}
},
pushDistinct: function (sArray, obj) {
if (!BI.contains(obj)) {
if (!BI.contains(sArray, obj)) {
sArray.push(obj);
}
},
pushDistinctArray: function (sArray, array) {
for (var i = 0, len = array.length; i < len; i++) {
sArray.pushDistinct(array[i]);
BI.pushDistinct(sArray, array[i]);
}
}
});

4
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

4
dist/core.js vendored

@ -17650,13 +17650,13 @@ _.extend(BI, {
}
},
pushDistinct: function (sArray, obj) {
if (!BI.contains(obj)) {
if (!BI.contains(sArray, obj)) {
sArray.push(obj);
}
},
pushDistinctArray: function (sArray, array) {
for (var i = 0, len = array.length; i < len; i++) {
sArray.pushDistinct(array[i]);
BI.pushDistinct(sArray, array[i]);
}
}
});

4
dist/fineui.js vendored

@ -17892,13 +17892,13 @@ _.extend(BI, {
}
},
pushDistinct: function (sArray, obj) {
if (!BI.contains(obj)) {
if (!BI.contains(sArray, obj)) {
sArray.push(obj);
}
},
pushDistinctArray: function (sArray, array) {
for (var i = 0, len = array.length; i < len; i++) {
sArray.pushDistinct(array[i]);
BI.pushDistinct(sArray, array[i]);
}
}
});

4
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

4
dist/fineui_without_jquery_polyfill.js vendored

@ -17396,13 +17396,13 @@ _.extend(BI, {
}
},
pushDistinct: function (sArray, obj) {
if (!BI.contains(obj)) {
if (!BI.contains(sArray, obj)) {
sArray.push(obj);
}
},
pushDistinctArray: function (sArray, array) {
for (var i = 0, len = array.length; i < len; i++) {
sArray.pushDistinct(array[i]);
BI.pushDistinct(sArray, array[i]);
}
}
});

2
dist/utils.min.js vendored

File diff suppressed because one or more lines are too long

4
src/core/func/array.js

@ -10,13 +10,13 @@ _.extend(BI, {
}
},
pushDistinct: function (sArray, obj) {
if (!BI.contains(obj)) {
if (!BI.contains(sArray, obj)) {
sArray.push(obj);
}
},
pushDistinctArray: function (sArray, array) {
for (var i = 0, len = array.length; i < len; i++) {
sArray.pushDistinct(array[i]);
BI.pushDistinct(sArray, array[i]);
}
}
});

Loading…
Cancel
Save