1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-01 11:20:26 +02:00

MD/CommonJS/Globals #12909

This commit is contained in:
Katie Zhu
2014-06-09 22:18:05 -07:00
committed by fat
parent 6a2482447d
commit 1c6fa9010d
14 changed files with 75 additions and 28 deletions

View File

@@ -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';
// DROPDOWN CLASS DEFINITION
@@ -148,4 +152,4 @@
.on('click.bs.dropdown.data-api', toggle, Dropdown.prototype.toggle)
.on('keydown.bs.dropdown.data-api', toggle + ', [role="menu"], [role="listbox"]', Dropdown.prototype.keydown)
}(jQuery);
});