aboutsummaryrefslogtreecommitdiff
path: root/js/dist/button.js
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2019-07-23 23:13:50 -0700
committerXhmikosR <[email protected]>2019-07-24 09:13:50 +0300
commit114a0ee193ffe7869c8369f25ef4dcc44929fbf5 (patch)
tree15e6e79c2f1b06eff34de7fba10bab2ec5dd0070 /js/dist/button.js
parente101ba4989c1930206ac2a092246612bab105f8e (diff)
downloadbootstrap-114a0ee193ffe7869c8369f25ef4dcc44929fbf5.tar.xz
bootstrap-114a0ee193ffe7869c8369f25ef4dcc44929fbf5.zip
Rebuild the dist to pickup new utilities file (#29105)
Dist after adding new utils file
Diffstat (limited to 'js/dist/button.js')
-rw-r--r--js/dist/button.js7
1 files changed, 4 insertions, 3 deletions
diff --git a/js/dist/button.js b/js/dist/button.js
index 809b52794..c12da2691 100644
--- a/js/dist/button.js
+++ b/js/dist/button.js
@@ -4,8 +4,8 @@
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/
(function (global, factory) {
- typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('./dom/data.js'), require('./dom/event-handler.js'), require('./dom/selector-engine.js')) :
- typeof define === 'function' && define.amd ? define(['./dom/data.js', './dom/event-handler.js', './dom/selector-engine.js'], factory) :
+ typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('../dom/data.js'), require('../dom/event-handler.js'), require('../dom/selector-engine.js')) :
+ typeof define === 'function' && define.amd ? define(['../dom/data.js', '../dom/event-handler.js', '../dom/selector-engine.js'], factory) :
(global = global || self, global.Button = factory(global.Data, global.EventHandler, global.SelectorEngine));
}(this, function (Data, EventHandler, SelectorEngine) { 'use strict';
@@ -181,7 +181,6 @@
if (!data) {
data = new Button(button);
- Data.setData(button, DATA_KEY, data);
}
data.toggle();
@@ -207,6 +206,8 @@
* add .button to jQuery only if jQuery is present
*/
+ /* istanbul ignore if */
+
if (typeof jQuery !== 'undefined') {
var JQUERY_NO_CONFLICT = jQuery.fn[NAME];
jQuery.fn[NAME] = Button._jQueryInterface;