Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
92c45a19
Commit
92c45a19
authored
5 years ago
by
Johann-S
Browse files
Options
Download
Email Patches
Plain Diff
separate file for our polyfills to have lighter plugins
parent
fdbc63fb
2 merge requests
!31948
Examples/Floating-labels: fix bad behavior with autofill
,
!30064
test
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
build/build-plugins.js
+7
-2
build/build-plugins.js
with
7 additions
and
2 deletions
+7
-2
build/build-plugins.js
+
7
-
2
View file @
92c45a19
...
...
@@ -31,6 +31,7 @@ const bsPlugins = {
Data
:
path
.
resolve
(
__dirname
,
'
../js/src/dom/data.js
'
),
EventHandler
:
path
.
resolve
(
__dirname
,
'
../js/src/dom/event-handler.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/selector-engine.js
'
),
Alert
:
path
.
resolve
(
__dirname
,
'
../js/src/alert.js
'
),
Button
:
path
.
resolve
(
__dirname
,
'
../js/src/button.js
'
),
...
...
@@ -69,13 +70,16 @@ function getConfigByPluginKey(pluginKey) {
pluginKey
===
'
Data
'
||
pluginKey
===
'
Manipulator
'
||
pluginKey
===
'
EventHandler
'
||
pluginKey
===
'
Polyfill
'
||
pluginKey
===
'
SelectorEngine
'
||
pluginKey
===
'
Util
'
||
pluginKey
===
'
Sanitizer
'
)
{
return
{
external
:
[],
globals
:
{}
external
:
[
bsPlugins
.
Polyfill
],
globals
:
{
[
bsPlugins
.
Polyfill
]:
'
Polyfill
'
}
}
}
...
...
@@ -144,6 +148,7 @@ const domObjects = [
'
Data
'
,
'
EventHandler
'
,
'
Manipulator
'
,
'
Polyfill
'
,
'
SelectorEngine
'
]
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets