aboutsummaryrefslogtreecommitdiff
path: root/js/tab.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/tab.js')
-rw-r--r--js/tab.js8
1 files changed, 6 insertions, 2 deletions
diff --git a/js/tab.js b/js/tab.js
index 51f5cbb68..57ae6bc9f 100644
--- a/js/tab.js
+++ b/js/tab.js
@@ -7,7 +7,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';
// TAB CLASS DEFINITION
@@ -125,4 +129,4 @@
Plugin.call($(this), 'show')
})
-}(jQuery);
+});