aboutsummaryrefslogtreecommitdiff
path: root/js/src/tooltip.js
diff options
context:
space:
mode:
authorJohann-S <[email protected]>2017-08-29 21:16:00 +0200
committerJohann-S <[email protected]>2017-08-31 18:43:04 +0200
commit9936bf59444c402b653f28449529eab83794e911 (patch)
tree9f92962faffb32135e5d1a3af31176572c359884 /js/src/tooltip.js
parent0165a620ec5826289dd56c0683c413e7a5b47fcb (diff)
downloadbootstrap-9936bf59444c402b653f28449529eab83794e911.tar.xz
bootstrap-9936bf59444c402b653f28449529eab83794e911.zip
Create a bundled release of Bootstrap with Popper.js inside
Diffstat (limited to 'js/src/tooltip.js')
-rw-r--r--js/src/tooltip.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/js/src/tooltip.js b/js/src/tooltip.js
index 37573cf49..5dc28ab7e 100644
--- a/js/src/tooltip.js
+++ b/js/src/tooltip.js
@@ -1,5 +1,5 @@
-/* global Popper */
-
+import $ from 'jquery'
+import Popper from 'popper.js'
import Util from './util'
@@ -10,7 +10,7 @@ import Util from './util'
* --------------------------------------------------------------------------
*/
-const Tooltip = (($) => {
+const Tooltip = (() => {
/**
* Check for Popper dependency
@@ -728,6 +728,6 @@ const Tooltip = (($) => {
return Tooltip
-})(jQuery)
+})(jQuery, Popper)
export default Tooltip