Skip to content
GitLab
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
6aa475c8
Unverified
Commit
6aa475c8
authored
6 years ago
by
XhmikosR
Committed by
GitHub
6 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Use one-line imports when possible. (#28467)
parent
ff178866
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
js/src/button.js
+1
-3
js/src/button.js
js/src/dom/eventHandler.js
+1
-3
js/src/dom/eventHandler.js
js/src/dom/polyfill.js
+1
-3
js/src/dom/polyfill.js
js/src/dom/selectorEngine.js
+1
-3
js/src/dom/selectorEngine.js
js/src/popover.js
+1
-3
js/src/popover.js
js/src/util/sanitizer.js
+1
-3
js/src/util/sanitizer.js
js/tests/integration/bundle.js
+1
-3
js/tests/integration/bundle.js
with
7 additions
and
21 deletions
+7
-21
js/src/button.js
+
1
-
3
View file @
6aa475c8
...
...
@@ -5,9 +5,7 @@
* --------------------------------------------------------------------------
*/
import
{
jQuery
as
$
}
from
'
./util/index
'
import
{
jQuery
as
$
}
from
'
./util/index
'
import
Data
from
'
./dom/data
'
import
EventHandler
from
'
./dom/eventHandler
'
import
SelectorEngine
from
'
./dom/selectorEngine
'
...
...
This diff is collapsed.
Click to expand it.
js/src/dom/eventHandler.js
+
1
-
3
View file @
6aa475c8
...
...
@@ -5,9 +5,7 @@
* --------------------------------------------------------------------------
*/
import
{
jQuery
as
$
}
from
'
../util/index
'
import
{
jQuery
as
$
}
from
'
../util/index
'
import
Polyfill
from
'
./polyfill
'
/**
...
...
This diff is collapsed.
Click to expand it.
js/src/dom/polyfill.js
+
1
-
3
View file @
6aa475c8
...
...
@@ -5,9 +5,7 @@
* --------------------------------------------------------------------------
*/
import
{
getUID
}
from
'
../util/index
'
import
{
getUID
}
from
'
../util/index
'
/* istanbul ignore next */
const
Polyfill
=
(()
=>
{
...
...
This diff is collapsed.
Click to expand it.
js/src/dom/selectorEngine.js
+
1
-
3
View file @
6aa475c8
...
...
@@ -6,9 +6,7 @@
*/
import
Polyfill
from
'
./polyfill
'
import
{
makeArray
}
from
'
../util/index
'
import
{
makeArray
}
from
'
../util/index
'
/**
* ------------------------------------------------------------------------
...
...
This diff is collapsed.
Click to expand it.
js/src/popover.js
+
1
-
3
View file @
6aa475c8
...
...
@@ -5,9 +5,7 @@
* --------------------------------------------------------------------------
*/
import
{
jQuery
as
$
}
from
'
./util/index
'
import
{
jQuery
as
$
}
from
'
./util/index
'
import
Data
from
'
./dom/data
'
import
SelectorEngine
from
'
./dom/selectorEngine
'
import
Tooltip
from
'
./tooltip
'
...
...
This diff is collapsed.
Click to expand it.
js/src/util/sanitizer.js
+
1
-
3
View file @
6aa475c8
...
...
@@ -5,9 +5,7 @@
* --------------------------------------------------------------------------
*/
import
{
makeArray
}
from
'
./index
'
import
{
makeArray
}
from
'
./index
'
const
uriAttrs
=
[
'
background
'
,
...
...
This diff is collapsed.
Click to expand it.
js/tests/integration/bundle.js
+
1
-
3
View file @
6aa475c8
import
'
popper.js
'
import
{
Tooltip
}
from
'
../../../dist/js/bootstrap.esm.js
'
import
{
Tooltip
}
from
'
../../../dist/js/bootstrap.esm.js
'
window
.
addEventListener
(
'
load
'
,
()
=>
{
[...
document
.
querySelectorAll
(
'
[data-toggle="tooltip"]
'
)]
...
...
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