mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-20 04:11:39 +02:00
Add back support for IE 11
This commit is contained in:
@@ -31,7 +31,6 @@ const bsPlugins = {
|
||||
Data: path.resolve(__dirname, '../js/src/dom/data.js'),
|
||||
EventHandler: path.resolve(__dirname, '../js/src/dom/eventHandler.js'),
|
||||
Manipulator: path.resolve(__dirname, '../js/src/dom/manipulator.js'),
|
||||
Polyfill: path.resolve(__dirname, '../js/src/dom/polyfill.js'),
|
||||
SelectorEngine: path.resolve(__dirname, '../js/src/dom/selectorEngine.js'),
|
||||
Alert: path.resolve(__dirname, '../js/src/alert.js'),
|
||||
Button: path.resolve(__dirname, '../js/src/button.js'),
|
||||
@@ -69,7 +68,8 @@ function getConfigByPluginKey(pluginKey) {
|
||||
if (
|
||||
pluginKey === 'Data' ||
|
||||
pluginKey === 'Manipulator' ||
|
||||
pluginKey === 'Polyfill' ||
|
||||
pluginKey === 'EventHandler' ||
|
||||
pluginKey === 'SelectorEngine' ||
|
||||
pluginKey === 'Util' ||
|
||||
pluginKey === 'Sanitizer'
|
||||
) {
|
||||
@@ -79,17 +79,6 @@ function getConfigByPluginKey(pluginKey) {
|
||||
}
|
||||
}
|
||||
|
||||
if (pluginKey === 'EventHandler' || pluginKey === 'SelectorEngine') {
|
||||
return {
|
||||
external: [
|
||||
bsPlugins.Polyfill
|
||||
],
|
||||
globals: {
|
||||
[bsPlugins.Polyfill]: 'Polyfill'
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (pluginKey === 'Alert' || pluginKey === 'Tab') {
|
||||
return defaultPluginConfig
|
||||
}
|
||||
@@ -161,7 +150,6 @@ function build(plugin) {
|
||||
'Data',
|
||||
'EventHandler',
|
||||
'Manipulator',
|
||||
'Polyfill',
|
||||
'SelectorEngine'
|
||||
]
|
||||
|
||||
|
Reference in New Issue
Block a user