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
b29b1e15
Commit
b29b1e15
authored
7 years ago
by
Johann-S
Browse files
Options
Download
Email Patches
Plain Diff
Use imported jQuery object
parent
722407f5
Changes
12
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
js/src/alert.js
+1
-1
js/src/alert.js
js/src/button.js
+1
-1
js/src/button.js
js/src/carousel.js
+1
-1
js/src/carousel.js
js/src/collapse.js
+1
-1
js/src/collapse.js
js/src/dropdown.js
+1
-1
js/src/dropdown.js
js/src/index.js
+2
-2
js/src/index.js
js/src/modal.js
+1
-1
js/src/modal.js
js/src/popover.js
+1
-1
js/src/popover.js
js/src/scrollspy.js
+1
-1
js/src/scrollspy.js
js/src/tab.js
+1
-1
js/src/tab.js
js/src/tooltip.js
+1
-1
js/src/tooltip.js
js/src/util.js
+1
-1
js/src/util.js
with
13 additions
and
13 deletions
+13
-13
js/src/alert.js
+
1
-
1
View file @
b29b1e15
...
...
@@ -189,6 +189,6 @@ const Alert = (() => {
return
Alert
})(
jQuery
)
})(
$
)
export
default
Alert
This diff is collapsed.
Click to expand it.
js/src/button.js
+
1
-
1
View file @
b29b1e15
...
...
@@ -182,6 +182,6 @@ const Button = (() => {
return
Button
})(
jQuery
)
})(
$
)
export
default
Button
This diff is collapsed.
Click to expand it.
js/src/carousel.js
+
1
-
1
View file @
b29b1e15
...
...
@@ -519,6 +519,6 @@ const Carousel = (() => {
return
Carousel
})(
jQuery
)
})(
$
)
export
default
Carousel
This diff is collapsed.
Click to expand it.
js/src/collapse.js
+
1
-
1
View file @
b29b1e15
...
...
@@ -404,6 +404,6 @@ const Collapse = (() => {
return
Collapse
})(
jQuery
)
})(
$
)
export
default
Collapse
This diff is collapsed.
Click to expand it.
js/src/dropdown.js
+
1
-
1
View file @
b29b1e15
...
...
@@ -445,6 +445,6 @@ const Dropdown = (() => {
return
Dropdown
})(
jQuery
,
Popper
)
})(
$
,
Popper
)
export
default
Dropdown
This diff is collapsed.
Click to expand it.
js/src/index.js
+
2
-
2
View file @
b29b1e15
...
...
@@ -19,7 +19,7 @@ import Util from './util'
*/
(()
=>
{
if
(
typeof
jQuery
===
'
undefined
'
)
{
if
(
typeof
$
===
'
undefined
'
)
{
throw
new
Error
(
'
Bootstrap
\'
s JavaScript requires jQuery. jQuery must be included before Bootstrap
\'
s JavaScript.
'
)
}
...
...
@@ -29,7 +29,7 @@ import Util from './util'
if
(
version
[
0
]
<
min
||
version
[
0
]
>=
max
)
{
throw
new
Error
(
'
Bootstrap
\'
s JavaScript requires at least jQuery v3.0.0 but less than v4.0.0
'
)
}
})(
jQuery
)
})(
$
)
export
{
Util
,
...
...
This diff is collapsed.
Click to expand it.
js/src/modal.js
+
1
-
1
View file @
b29b1e15
...
...
@@ -585,6 +585,6 @@ const Modal = (() => {
return
Modal
})(
jQuery
)
})(
$
)
export
default
Modal
This diff is collapsed.
Click to expand it.
js/src/popover.js
+
1
-
1
View file @
b29b1e15
...
...
@@ -189,6 +189,6 @@ const Popover = (() => {
return
Popover
})(
jQuery
)
})(
$
)
export
default
Popover
This diff is collapsed.
Click to expand it.
js/src/scrollspy.js
+
1
-
1
View file @
b29b1e15
...
...
@@ -335,6 +335,6 @@ const ScrollSpy = (() => {
return
ScrollSpy
})(
jQuery
)
})(
$
)
export
default
ScrollSpy
This diff is collapsed.
Click to expand it.
js/src/tab.js
+
1
-
1
View file @
b29b1e15
...
...
@@ -282,6 +282,6 @@ const Tab = (() => {
return
Tab
})(
jQuery
)
})(
$
)
export
default
Tab
This diff is collapsed.
Click to expand it.
js/src/tooltip.js
+
1
-
1
View file @
b29b1e15
...
...
@@ -728,6 +728,6 @@ const Tooltip = (() => {
return
Tooltip
})(
jQuery
,
Popper
)
})(
$
,
Popper
)
export
default
Tooltip
This diff is collapsed.
Click to expand it.
js/src/util.js
+
1
-
1
View file @
b29b1e15
...
...
@@ -161,6 +161,6 @@ const Util = (() => {
return
Util
})(
jQuery
)
})(
$
)
export
default
Util
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