1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-17 19:06:40 +02:00

Rebuild the dist to pickup new utilities file (#29105)

Dist after adding new utils file
This commit is contained in:
Mark Otto
2019-07-23 23:13:50 -07:00
committed by XhmikosR
parent e101ba4989
commit 114a0ee193
58 changed files with 4364 additions and 663 deletions

View File

@@ -48,10 +48,6 @@
element = document.documentElement;
}
if (typeof selector !== 'string') {
return null;
}
return polyfill_js.find.call(element, selector);
},
findOne: function findOne(selector, element) {
@@ -59,29 +55,17 @@
element = document.documentElement;
}
if (typeof selector !== 'string') {
return null;
}
return polyfill_js.findOne.call(element, selector);
},
children: function children(element, selector) {
var _this = this;
if (typeof selector !== 'string') {
return null;
}
var children = makeArray(element.children);
return children.filter(function (child) {
return _this.matches(child, selector);
});
},
parents: function parents(element, selector) {
if (typeof selector !== 'string') {
return null;
}
var parents = [];
var ancestor = element.parentNode;
@@ -96,17 +80,9 @@
return parents;
},
closest: function closest(element, selector) {
if (typeof selector !== 'string') {
return null;
}
return polyfill_js.closest.call(element, selector);
},
prev: function prev(element, selector) {
if (typeof selector !== 'string') {
return null;
}
var siblings = [];
var previous = element.previousSibling;