aboutsummaryrefslogtreecommitdiff
path: root/js/carousel.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/carousel.js')
-rw-r--r--js/carousel.js8
1 files changed, 6 insertions, 2 deletions
diff --git a/js/carousel.js b/js/carousel.js
index f0117980d..af51cf50d 100644
--- a/js/carousel.js
+++ b/js/carousel.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';
// CAROUSEL CLASS DEFINITION
@@ -209,4 +213,4 @@
})
})
-}(jQuery);
+});