Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohann-S <johann.servoire@gmail.com>2019-03-16 17:10:23 +0300
committerXhmikosR <xhmikosr@gmail.com>2019-03-18 02:11:05 +0300
commit08679ac0b5f34e1a1f1766be460e51bc1aa8d82a (patch)
tree2cef1cf8f17668c56b410c4c3e32a55bd4853af9 /build/build-plugins.js
parentf7c1b1e683976ee780faadddc4edc70b477aa01f (diff)
Add back support for IE 11
Diffstat (limited to 'build/build-plugins.js')
-rw-r--r--build/build-plugins.js16
1 files changed, 2 insertions, 14 deletions
diff --git a/build/build-plugins.js b/build/build-plugins.js
index 8569e979f1..8a2873341e 100644
--- a/build/build-plugins.js
+++ b/build/build-plugins.js
@@ -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'
]