1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-09-27 13:59:06 +02:00

fix: remove make array util function (#30430)

This commit is contained in:
Johann-S
2020-03-25 15:35:02 +01:00
committed by GitHub
parent 98c4598696
commit 26d86fce2a
17 changed files with 53 additions and 89 deletions

View File

@@ -127,14 +127,6 @@ const typeCheckConfig = (componentName, config, configTypes) => {
})
}
const makeArray = nodeList => {
if (!nodeList) {
return []
}
return [].slice.call(nodeList)
}
const isVisible = element => {
if (!element) {
return false
@@ -200,7 +192,6 @@ export {
isElement,
emulateTransitionEnd,
typeCheckConfig,
makeArray,
isVisible,
findShadowRoot,
noop,