Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKatie Zhu <to.kzhu@gmail.com>2014-06-10 09:18:05 +0400
committerfat <jacobthornton@gmail.com>2014-06-11 04:16:29 +0400
commit1c6fa9010daf0d0c21de9e20fe6ac4dba1788d90 (patch)
treed78b10fca9aafb85b9da3ccd82d7a3e2e130cf8c /js/tooltip.js
parent6a2482447dbc33519a966753e47607be9f199182 (diff)
MD/CommonJS/Globals #12909
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 b4ced6d2af..692651457f 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);
+});