Browse Source

Merge remote-tracking branch 'origin/master'

es6
guy 7 years ago
parent
commit
309e0c0df5
  1. 2
      dist/fix/fix.js

2
dist/fix/fix.js vendored

@ -48,7 +48,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
}
function remove(arr, item) {
if (arr.length) {
if (arr && arr.length) {
var _index = arr.indexOf(item);
if (_index > -1) {
return arr.splice(_index, 1);

Loading…
Cancel
Save