aboutsummaryrefslogtreecommitdiff
path: root/js/tooltip.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/tooltip.js')
-rw-r--r--js/tooltip.js8
1 files changed, 6 insertions, 2 deletions
diff --git a/js/tooltip.js b/js/tooltip.js
index b4ced6d2a..692651457 100644
--- a/js/tooltip.js
+++ b/js/tooltip.js
@@ -8,7 +8,11 @@
* ======================================================================== */
-+function ($) {
+(function (o_o) {
+ typeof define === 'function' && define.amd ? define(['jquery'], o_o) :
+ typeof exports === 'object' ? o_o(require('jquery')) : o_o(this.jQuery)
+})(function ($) {
+
'use strict';
// TOOLTIP PUBLIC CLASS DEFINITION
@@ -454,4 +458,4 @@
return this
}
-}(jQuery);
+});