Commit b39ce7d6 authored by Mark Otto's avatar Mark Otto

grunt

parent e615ae05
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -294,14 +294,6 @@ var Alert = (function ($) { ...@@ -294,14 +294,6 @@ var Alert = (function ($) {
$(element).detach().trigger(Event.CLOSED).remove(); $(element).detach().trigger(Event.CLOSED).remove();
} }
}], [{ }], [{
key: 'VERSION',
// getters
get: function () {
return VERSION;
}
}, {
key: '_jQueryInterface', key: '_jQueryInterface',
// static // static
...@@ -332,6 +324,14 @@ var Alert = (function ($) { ...@@ -332,6 +324,14 @@ var Alert = (function ($) {
alertInstance.close(this); alertInstance.close(this);
}; };
} }
}, {
key: 'VERSION',
// getters
get: function () {
return VERSION;
}
}]); }]);
return Alert; return Alert;
...@@ -461,14 +461,6 @@ var Button = (function ($) { ...@@ -461,14 +461,6 @@ var Button = (function ($) {
this._element = null; this._element = null;
} }
}], [{ }], [{
key: 'VERSION',
// getters
get: function () {
return VERSION;
}
}, {
key: '_jQueryInterface', key: '_jQueryInterface',
// static // static
...@@ -487,6 +479,14 @@ var Button = (function ($) { ...@@ -487,6 +479,14 @@ var Button = (function ($) {
} }
}); });
} }
}, {
key: 'VERSION',
// getters
get: function () {
return VERSION;
}
}]); }]);
return Button; return Button;
...@@ -880,19 +880,6 @@ var Carousel = (function ($) { ...@@ -880,19 +880,6 @@ var Carousel = (function ($) {
} }
} }
}], [{ }], [{
key: 'VERSION',
// getters
get: function () {
return VERSION;
}
}, {
key: 'Default',
get: function () {
return Default;
}
}, {
key: '_jQueryInterface', key: '_jQueryInterface',
// static // static
...@@ -953,6 +940,19 @@ var Carousel = (function ($) { ...@@ -953,6 +940,19 @@ var Carousel = (function ($) {
event.preventDefault(); event.preventDefault();
} }
}, {
key: 'VERSION',
// getters
get: function () {
return VERSION;
}
}, {
key: 'Default',
get: function () {
return Default;
}
}]); }]);
return Carousel; return Carousel;
...@@ -1263,19 +1263,6 @@ var Collapse = (function ($) { ...@@ -1263,19 +1263,6 @@ var Collapse = (function ($) {
} }
} }
}], [{ }], [{
key: 'VERSION',
// getters
get: function () {
return VERSION;
}
}, {
key: 'Default',
get: function () {
return Default;
}
}, {
key: '_getTargetFromElement', key: '_getTargetFromElement',
// static // static
...@@ -1306,6 +1293,19 @@ var Collapse = (function ($) { ...@@ -1306,6 +1293,19 @@ var Collapse = (function ($) {
} }
}); });
} }
}, {
key: 'VERSION',
// getters
get: function () {
return VERSION;
}
}, {
key: 'Default',
get: function () {
return Default;
}
}]); }]);
return Collapse; return Collapse;
...@@ -1468,14 +1468,6 @@ var Dropdown = (function ($) { ...@@ -1468,14 +1468,6 @@ var Dropdown = (function ($) {
$(this._element).on(Event.CLICK, this.toggle); $(this._element).on(Event.CLICK, this.toggle);
} }
}], [{ }], [{
key: 'VERSION',
// getters
get: function () {
return VERSION;
}
}, {
key: '_jQueryInterface', key: '_jQueryInterface',
// static // static
...@@ -1588,6 +1580,14 @@ var Dropdown = (function ($) { ...@@ -1588,6 +1580,14 @@ var Dropdown = (function ($) {
items[index].focus(); items[index].focus();
} }
}, {
key: 'VERSION',
// getters
get: function () {
return VERSION;
}
}]); }]);
return Dropdown; return Dropdown;
...@@ -2049,19 +2049,6 @@ var Modal = (function ($) { ...@@ -2049,19 +2049,6 @@ var Modal = (function ($) {
return scrollbarWidth; return scrollbarWidth;
} }
}], [{ }], [{
key: 'VERSION',
// getters
get: function () {
return VERSION;
}
}, {
key: 'Default',
get: function () {
return Default;
}
}, {
key: '_jQueryInterface', key: '_jQueryInterface',
// static // static
...@@ -2083,6 +2070,19 @@ var Modal = (function ($) { ...@@ -2083,6 +2070,19 @@ var Modal = (function ($) {
} }
}); });
} }
}, {
key: 'VERSION',
// getters
get: function () {
return VERSION;
}
}, {
key: 'Default',
get: function () {
return Default;
}
}]); }]);
return Modal; return Modal;
...@@ -2383,19 +2383,6 @@ var ScrollSpy = (function ($) { ...@@ -2383,19 +2383,6 @@ var ScrollSpy = (function ($) {
} }
} }
}], [{ }], [{
key: 'VERSION',
// getters
get: function () {
return VERSION;
}
}, {
key: 'Default',
get: function () {
return Default;
}
}, {
key: '_jQueryInterface', key: '_jQueryInterface',
// static // static
...@@ -2415,6 +2402,19 @@ var ScrollSpy = (function ($) { ...@@ -2415,6 +2402,19 @@ var ScrollSpy = (function ($) {
} }
}); });
} }
}, {
key: 'VERSION',
// getters
get: function () {
return VERSION;
}
}, {
key: 'Default',
get: function () {
return Default;
}
}]); }]);
return ScrollSpy; return ScrollSpy;
...@@ -2659,14 +2659,6 @@ var Tab = (function ($) { ...@@ -2659,14 +2659,6 @@ var Tab = (function ($) {
} }
} }
}], [{ }], [{
key: 'VERSION',
// getters
get: function () {
return VERSION;
}
}, {
key: '_jQueryInterface', key: '_jQueryInterface',
// static // static
...@@ -2686,6 +2678,14 @@ var Tab = (function ($) { ...@@ -2686,6 +2678,14 @@ var Tab = (function ($) {
} }
}); });
} }
}, {
key: 'VERSION',
// getters
get: function () {
return VERSION;
}
}]); }]);
return Tab; return Tab;
...@@ -3224,6 +3224,30 @@ var Tooltip = (function ($) { ...@@ -3224,6 +3224,30 @@ var Tooltip = (function ($) {
return config; return config;
} }
}], [{ }], [{
key: '_jQueryInterface',
// static
value: function _jQueryInterface(config) {
return this.each(function () {
var data = $(this).data(DATA_KEY);
var _config = typeof config === 'object' ? config : null;
if (!data && /destroy|hide/.test(config)) {
return;
}
if (!data) {
data = new Tooltip(this, _config);
$(this).data(DATA_KEY, data);
}
if (typeof config === 'string') {
data[config]();
}
});
}
}, {
key: 'VERSION', key: 'VERSION',
// getters // getters
...@@ -3261,30 +3285,6 @@ var Tooltip = (function ($) { ...@@ -3261,30 +3285,6 @@ var Tooltip = (function ($) {
get: function () { get: function () {
return DefaultType; return DefaultType;
} }
}, {
key: '_jQueryInterface',
// static
value: function _jQueryInterface(config) {
return this.each(function () {
var data = $(this).data(DATA_KEY);
var _config = typeof config === 'object' ? config : null;
if (!data && /destroy|hide/.test(config)) {
return;
}
if (!data) {
data = new Tooltip(this, _config);
$(this).data(DATA_KEY, data);
}
if (typeof config === 'string') {
data[config]();
}
});
}
}]); }]);
return Tooltip; return Tooltip;
...@@ -3420,6 +3420,30 @@ var Popover = (function ($) { ...@@ -3420,6 +3420,30 @@ var Popover = (function ($) {
return this.element.getAttribute('data-content') || (typeof this.config.content == 'function' ? this.config.content.call(this.element) : this.config.content); return this.element.getAttribute('data-content') || (typeof this.config.content == 'function' ? this.config.content.call(this.element) : this.config.content);
} }
}], [{ }], [{
key: '_jQueryInterface',
// static
value: function _jQueryInterface(config) {
return this.each(function () {
var data = $(this).data(DATA_KEY);
var _config = typeof config === 'object' ? config : null;
if (!data && /destroy|hide/.test(config)) {
return;
}
if (!data) {
data = new Popover(this, _config);
$(this).data(DATA_KEY, data);
}
if (typeof config === 'string') {
data[config]();
}
});
}
}, {
key: 'VERSION', key: 'VERSION',
// getters // getters
...@@ -3457,30 +3481,6 @@ var Popover = (function ($) { ...@@ -3457,30 +3481,6 @@ var Popover = (function ($) {
get: function () { get: function () {
return DefaultType; return DefaultType;
} }
}, {
key: '_jQueryInterface',
// static
value: function _jQueryInterface(config) {
return this.each(function () {
var data = $(this).data(DATA_KEY);
var _config = typeof config === 'object' ? config : null;
if (!data && /destroy|hide/.test(config)) {
return;
}
if (!data) {
data = new Popover(this, _config);
$(this).data(DATA_KEY, data);
}
if (typeof config === 'string') {
data[config]();
}
});
}
}]); }]);
return Popover; return Popover;
......
This diff is collapsed.
...@@ -140,14 +140,6 @@ ...@@ -140,14 +140,6 @@
$(element).detach().trigger(Event.CLOSED).remove(); $(element).detach().trigger(Event.CLOSED).remove();
} }
}], [{ }], [{
key: 'VERSION',
// getters
get: function () {
return VERSION;
}
}, {
key: '_jQueryInterface', key: '_jQueryInterface',
// static // static
...@@ -178,6 +170,14 @@ ...@@ -178,6 +170,14 @@
alertInstance.close(this); alertInstance.close(this);
}; };
} }
}, {
key: 'VERSION',
// getters
get: function () {
return VERSION;
}
}]); }]);
return Alert; return Alert;
...@@ -208,4 +208,4 @@ ...@@ -208,4 +208,4 @@
})(jQuery); })(jQuery);
module.exports = Alert; module.exports = Alert;
}); });
\ No newline at end of file
...@@ -117,14 +117,6 @@ ...@@ -117,14 +117,6 @@
this._element = null; this._element = null;
} }
}], [{ }], [{
key: 'VERSION',
// getters
get: function () {
return VERSION;
}
}, {
key: '_jQueryInterface', key: '_jQueryInterface',
// static // static
...@@ -143,6 +135,14 @@ ...@@ -143,6 +135,14 @@
} }
}); });
} }
}, {
key: 'VERSION',
// getters
get: function () {
return VERSION;
}
}]); }]);
return Button; return Button;
...@@ -186,4 +186,4 @@ ...@@ -186,4 +186,4 @@
})(jQuery); })(jQuery);
module.exports = Button; module.exports = Button;
}); });
\ No newline at end of file
...@@ -372,19 +372,6 @@ ...@@ -372,19 +372,6 @@
} }
} }
}], [{ }], [{
key: 'VERSION',
// getters
get: function () {
return VERSION;
}
}, {
key: 'Default',
get: function () {
return Default;
}
}, {
key: '_jQueryInterface', key: '_jQueryInterface',
// static // static
...@@ -445,6 +432,19 @@ ...@@ -445,6 +432,19 @@
event.preventDefault(); event.preventDefault();
} }
}, {
key: 'VERSION',
// getters
get: function () {
return VERSION;
}
}, {
key: 'Default',
get: function () {
return Default;
}
}]); }]);
return Carousel; return Carousel;
...@@ -482,4 +482,4 @@ ...@@ -482,4 +482,4 @@
})(jQuery); })(jQuery);
module.exports = Carousel; module.exports = Carousel;
}); });
\ No newline at end of file
...@@ -295,19 +295,6 @@ ...@@ -295,19 +295,6 @@
} }
} }
}], [{ }], [{
key: 'VERSION',
// getters
get: function () {
return VERSION;
}
}, {
key: 'Default',
get: function () {
return Default;
}
}, {
key: '_getTargetFromElement', key: '_getTargetFromElement',
// static // static
...@@ -338,6 +325,19 @@ ...@@ -338,6 +325,19 @@
} }
}); });
} }
}, {
key: 'VERSION',
// getters
get: function () {
return VERSION;
}
}, {
key: 'Default',
get: function () {
return Default;
}
}]); }]);
return Collapse; return Collapse;
...@@ -377,4 +377,4 @@ ...@@ -377,4 +377,4 @@
})(jQuery); })(jQuery);
module.exports = Collapse; module.exports = Collapse;
}); });
\ No newline at end of file
...@@ -145,14 +145,6 @@ ...@@ -145,14 +145,6 @@
$(this._element).on(Event.CLICK, this.toggle); $(this._element).on(Event.CLICK, this.toggle);
} }
}], [{ }], [{
key: 'VERSION',
// getters
get: function () {
return VERSION;
}
}, {
key: '_jQueryInterface', key: '_jQueryInterface',
// static // static
...@@ -265,6 +257,14 @@ ...@@ -265,6 +257,14 @@
items[index].focus(); items[index].focus();
} }
}, {
key: 'VERSION',
// getters
get: function () {
return VERSION;
}
}]); }]);
return Dropdown; return Dropdown;
...@@ -297,4 +297,4 @@ ...@@ -297,4 +297,4 @@
})(jQuery); })(jQuery);
module.exports = Dropdown; module.exports = Dropdown;
}); });
\ No newline at end of file
...@@ -451,19 +451,6 @@ ...@@ -451,19 +451,6 @@
return scrollbarWidth; return scrollbarWidth;
} }
}], [{ }], [{
key: 'VERSION',
// getters
get: function () {
return VERSION;
}
}, {
key: 'Default',
get: function () {
return Default;
}
}, {
key: '_jQueryInterface', key: '_jQueryInterface',
// static // static
...@@ -485,6 +472,19 @@ ...@@ -485,6 +472,19 @@
} }
}); });
} }
}, {
key: 'VERSION',
// getters
get: function () {
return VERSION;
}
}, {
key: 'Default',
get: function () {
return Default;
}
}]); }]);
return Modal; return Modal;
...@@ -545,4 +545,4 @@ ...@@ -545,4 +545,4 @@
})(jQuery); })(jQuery);
module.exports = Modal; module.exports = Modal;
}); });
\ No newline at end of file
...@@ -137,6 +137,30 @@ ...@@ -137,6 +137,30 @@
return this.element.getAttribute('data-content') || (typeof this.config.content == 'function' ? this.config.content.call(this.element) : this.config.content); return this.element.getAttribute('data-content') || (typeof this.config.content == 'function' ? this.config.content.call(this.element) : this.config.content);
} }
}], [{ }], [{
key: '_jQueryInterface',
// static
value: function _jQueryInterface(config) {
return this.each(function () {
var data = $(this).data(DATA_KEY);
var _config = typeof config === 'object' ? config : null;
if (!data && /destroy|hide/.test(config)) {
return;
}
if (!data) {
data = new Popover(this, _config);
$(this).data(DATA_KEY, data);
}
if (typeof config === 'string') {
data[config]();
}
});
}
}, {
key: 'VERSION', key: 'VERSION',
// getters // getters
...@@ -174,30 +198,6 @@ ...@@ -174,30 +198,6 @@
get: function () { get: function () {
return DefaultType; return DefaultType;
} }
}, {
key: '_jQueryInterface',
// static
value: function _jQueryInterface(config) {
return this.each(function () {
var data = $(this).data(DATA_KEY);
var _config = typeof config === 'object' ? config : null;
if (!data && /destroy|hide/.test(config)) {
return;
}
if (!data) {
data = new Popover(this, _config);
$(this).data(DATA_KEY, data);
}
if (typeof config === 'string') {
data[config]();
}
});
}
}]); }]);
return Popover; return Popover;
...@@ -220,4 +220,4 @@ ...@@ -220,4 +220,4 @@
})(jQuery); })(jQuery);
module.exports = Popover; module.exports = Popover;
}); });
\ No newline at end of file
...@@ -262,19 +262,6 @@ ...@@ -262,19 +262,6 @@
} }
} }
}], [{ }], [{
key: 'VERSION',
// getters
get: function () {
return VERSION;
}
}, {
key: 'Default',
get: function () {
return Default;
}
}, {
key: '_jQueryInterface', key: '_jQueryInterface',
// static // static
...@@ -294,6 +281,19 @@ ...@@ -294,6 +281,19 @@
} }
}); });
} }
}, {
key: 'VERSION',
// getters
get: function () {
return VERSION;
}
}, {
key: 'Default',
get: function () {
return Default;
}
}]); }]);
return ScrollSpy; return ScrollSpy;
...@@ -331,4 +331,4 @@ ...@@ -331,4 +331,4 @@
})(jQuery); })(jQuery);
module.exports = ScrollSpy; module.exports = ScrollSpy;
}); });
\ No newline at end of file
...@@ -229,14 +229,6 @@ ...@@ -229,14 +229,6 @@
} }
} }
}], [{ }], [{
key: 'VERSION',
// getters
get: function () {
return VERSION;
}
}, {
key: '_jQueryInterface', key: '_jQueryInterface',
// static // static
...@@ -256,6 +248,14 @@ ...@@ -256,6 +248,14 @@
} }
}); });
} }
}, {
key: 'VERSION',
// getters
get: function () {
return VERSION;
}
}]); }]);
return Tab; return Tab;
...@@ -289,4 +289,4 @@ ...@@ -289,4 +289,4 @@
})(jQuery); })(jQuery);
module.exports = Tab; module.exports = Tab;
}); });
\ No newline at end of file
...@@ -527,6 +527,30 @@ ...@@ -527,6 +527,30 @@
return config; return config;
} }
}], [{ }], [{
key: '_jQueryInterface',
// static
value: function _jQueryInterface(config) {
return this.each(function () {
var data = $(this).data(DATA_KEY);
var _config = typeof config === 'object' ? config : null;
if (!data && /destroy|hide/.test(config)) {
return;
}
if (!data) {
data = new Tooltip(this, _config);
$(this).data(DATA_KEY, data);
}
if (typeof config === 'string') {
data[config]();
}
});
}
}, {
key: 'VERSION', key: 'VERSION',
// getters // getters
...@@ -564,30 +588,6 @@ ...@@ -564,30 +588,6 @@
get: function () { get: function () {
return DefaultType; return DefaultType;
} }
}, {
key: '_jQueryInterface',
// static
value: function _jQueryInterface(config) {
return this.each(function () {
var data = $(this).data(DATA_KEY);
var _config = typeof config === 'object' ? config : null;
if (!data && /destroy|hide/.test(config)) {
return;
}
if (!data) {
data = new Tooltip(this, _config);
$(this).data(DATA_KEY, data);
}
if (typeof config === 'string') {
data[config]();
}
});
}
}]); }]);
return Tooltip; return Tooltip;
...@@ -610,4 +610,4 @@ ...@@ -610,4 +610,4 @@
})(jQuery); })(jQuery);
module.exports = Tooltip; module.exports = Tooltip;
}); });
\ No newline at end of file
...@@ -163,4 +163,4 @@ ...@@ -163,4 +163,4 @@
})(jQuery); })(jQuery);
module.exports = Util; module.exports = Util;
}); });
\ No newline at end of file
This diff is collapsed.
This diff was suppressed by a .gitattributes entry.
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -294,14 +294,6 @@ var Alert = (function ($) { ...@@ -294,14 +294,6 @@ var Alert = (function ($) {
$(element).detach().trigger(Event.CLOSED).remove(); $(element).detach().trigger(Event.CLOSED).remove();
} }
}], [{ }], [{
key: 'VERSION',
// getters
get: function () {
return VERSION;
}
}, {
key: '_jQueryInterface', key: '_jQueryInterface',
// static // static
...@@ -332,6 +324,14 @@ var Alert = (function ($) { ...@@ -332,6 +324,14 @@ var Alert = (function ($) {
alertInstance.close(this); alertInstance.close(this);
}; };
} }
}, {
key: 'VERSION',
// getters
get: function () {
return VERSION;
}
}]); }]);
return Alert; return Alert;
...@@ -461,14 +461,6 @@ var Button = (function ($) { ...@@ -461,14 +461,6 @@ var Button = (function ($) {
this._element = null; this._element = null;
} }
}], [{ }], [{
key: 'VERSION',
// getters
get: function () {
return VERSION;
}
}, {
key: '_jQueryInterface', key: '_jQueryInterface',
// static // static
...@@ -487,6 +479,14 @@ var Button = (function ($) { ...@@ -487,6 +479,14 @@ var Button = (function ($) {
} }
}); });
} }
}, {
key: 'VERSION',
// getters
get: function () {
return VERSION;
}
}]); }]);
return Button; return Button;
...@@ -880,19 +880,6 @@ var Carousel = (function ($) { ...@@ -880,19 +880,6 @@ var Carousel = (function ($) {
} }
} }
}], [{ }], [{
key: 'VERSION',
// getters
get: function () {
return VERSION;
}
}, {
key: 'Default',
get: function () {
return Default;
}
}, {
key: '_jQueryInterface', key: '_jQueryInterface',
// static // static
...@@ -953,6 +940,19 @@ var Carousel = (function ($) { ...@@ -953,6 +940,19 @@ var Carousel = (function ($) {
event.preventDefault(); event.preventDefault();
} }
}, {
key: 'VERSION',
// getters
get: function () {
return VERSION;
}
}, {
key: 'Default',
get: function () {
return Default;
}
}]); }]);
return Carousel; return Carousel;
...@@ -1263,19 +1263,6 @@ var Collapse = (function ($) { ...@@ -1263,19 +1263,6 @@ var Collapse = (function ($) {
} }
} }
}], [{ }], [{
key: 'VERSION',
// getters
get: function () {
return VERSION;
}
}, {
key: 'Default',
get: function () {
return Default;
}
}, {
key: '_getTargetFromElement', key: '_getTargetFromElement',
// static // static
...@@ -1306,6 +1293,19 @@ var Collapse = (function ($) { ...@@ -1306,6 +1293,19 @@ var Collapse = (function ($) {
} }
}); });
} }
}, {
key: 'VERSION',
// getters
get: function () {
return VERSION;
}
}, {
key: 'Default',
get: function () {
return Default;
}
}]); }]);
return Collapse; return Collapse;
...@@ -1468,14 +1468,6 @@ var Dropdown = (function ($) { ...@@ -1468,14 +1468,6 @@ var Dropdown = (function ($) {
$(this._element).on(Event.CLICK, this.toggle); $(this._element).on(Event.CLICK, this.toggle);
} }
}], [{ }], [{
key: 'VERSION',
// getters
get: function () {
return VERSION;
}
}, {
key: '_jQueryInterface', key: '_jQueryInterface',
// static // static
...@@ -1588,6 +1580,14 @@ var Dropdown = (function ($) { ...@@ -1588,6 +1580,14 @@ var Dropdown = (function ($) {
items[index].focus(); items[index].focus();
} }
}, {
key: 'VERSION',
// getters
get: function () {
return VERSION;
}
}]); }]);
return Dropdown; return Dropdown;
...@@ -2049,19 +2049,6 @@ var Modal = (function ($) { ...@@ -2049,19 +2049,6 @@ var Modal = (function ($) {
return scrollbarWidth; return scrollbarWidth;
} }
}], [{ }], [{
key: 'VERSION',
// getters
get: function () {
return VERSION;
}
}, {
key: 'Default',
get: function () {
return Default;
}
}, {
key: '_jQueryInterface', key: '_jQueryInterface',
// static // static
...@@ -2083,6 +2070,19 @@ var Modal = (function ($) { ...@@ -2083,6 +2070,19 @@ var Modal = (function ($) {
} }
}); });
} }
}, {
key: 'VERSION',
// getters
get: function () {
return VERSION;
}
}, {
key: 'Default',
get: function () {
return Default;
}
}]); }]);
return Modal; return Modal;
...@@ -2383,19 +2383,6 @@ var ScrollSpy = (function ($) { ...@@ -2383,19 +2383,6 @@ var ScrollSpy = (function ($) {
} }
} }
}], [{ }], [{
key: 'VERSION',
// getters
get: function () {
return VERSION;
}
}, {
key: 'Default',
get: function () {
return Default;
}
}, {
key: '_jQueryInterface', key: '_jQueryInterface',
// static // static
...@@ -2415,6 +2402,19 @@ var ScrollSpy = (function ($) { ...@@ -2415,6 +2402,19 @@ var ScrollSpy = (function ($) {
} }
}); });
} }
}, {
key: 'VERSION',
// getters
get: function () {
return VERSION;
}
}, {
key: 'Default',
get: function () {
return Default;
}
}]); }]);
return ScrollSpy; return ScrollSpy;
...@@ -2659,14 +2659,6 @@ var Tab = (function ($) { ...@@ -2659,14 +2659,6 @@ var Tab = (function ($) {
} }
} }
}], [{ }], [{
key: 'VERSION',
// getters
get: function () {
return VERSION;
}
}, {
key: '_jQueryInterface', key: '_jQueryInterface',
// static // static
...@@ -2686,6 +2678,14 @@ var Tab = (function ($) { ...@@ -2686,6 +2678,14 @@ var Tab = (function ($) {
} }
}); });
} }
}, {
key: 'VERSION',
// getters
get: function () {
return VERSION;
}
}]); }]);
return Tab; return Tab;
...@@ -3224,6 +3224,30 @@ var Tooltip = (function ($) { ...@@ -3224,6 +3224,30 @@ var Tooltip = (function ($) {
return config; return config;
} }
}], [{ }], [{
key: '_jQueryInterface',
// static
value: function _jQueryInterface(config) {
return this.each(function () {
var data = $(this).data(DATA_KEY);
var _config = typeof config === 'object' ? config : null;
if (!data && /destroy|hide/.test(config)) {
return;
}
if (!data) {
data = new Tooltip(this, _config);
$(this).data(DATA_KEY, data);
}
if (typeof config === 'string') {
data[config]();
}
});
}
}, {
key: 'VERSION', key: 'VERSION',
// getters // getters
...@@ -3261,30 +3285,6 @@ var Tooltip = (function ($) { ...@@ -3261,30 +3285,6 @@ var Tooltip = (function ($) {
get: function () { get: function () {
return DefaultType; return DefaultType;
} }
}, {
key: '_jQueryInterface',
// static
value: function _jQueryInterface(config) {
return this.each(function () {
var data = $(this).data(DATA_KEY);
var _config = typeof config === 'object' ? config : null;
if (!data && /destroy|hide/.test(config)) {
return;
}
if (!data) {
data = new Tooltip(this, _config);
$(this).data(DATA_KEY, data);
}
if (typeof config === 'string') {
data[config]();
}
});
}
}]); }]);
return Tooltip; return Tooltip;
...@@ -3420,6 +3420,30 @@ var Popover = (function ($) { ...@@ -3420,6 +3420,30 @@ var Popover = (function ($) {
return this.element.getAttribute('data-content') || (typeof this.config.content == 'function' ? this.config.content.call(this.element) : this.config.content); return this.element.getAttribute('data-content') || (typeof this.config.content == 'function' ? this.config.content.call(this.element) : this.config.content);
} }
}], [{ }], [{
key: '_jQueryInterface',
// static
value: function _jQueryInterface(config) {
return this.each(function () {
var data = $(this).data(DATA_KEY);
var _config = typeof config === 'object' ? config : null;
if (!data && /destroy|hide/.test(config)) {
return;
}
if (!data) {
data = new Popover(this, _config);
$(this).data(DATA_KEY, data);
}
if (typeof config === 'string') {
data[config]();
}
});
}
}, {
key: 'VERSION', key: 'VERSION',
// getters // getters
...@@ -3457,30 +3481,6 @@ var Popover = (function ($) { ...@@ -3457,30 +3481,6 @@ var Popover = (function ($) {
get: function () { get: function () {
return DefaultType; return DefaultType;
} }
}, {
key: '_jQueryInterface',
// static
value: function _jQueryInterface(config) {
return this.each(function () {
var data = $(this).data(DATA_KEY);
var _config = typeof config === 'object' ? config : null;
if (!data && /destroy|hide/.test(config)) {
return;
}
if (!data) {
data = new Popover(this, _config);
$(this).data(DATA_KEY, data);
}
if (typeof config === 'string') {
data[config]();
}
});
}
}]); }]);
return Popover; return Popover;
......
This diff is collapsed.
...@@ -140,14 +140,6 @@ ...@@ -140,14 +140,6 @@
$(element).detach().trigger(Event.CLOSED).remove(); $(element).detach().trigger(Event.CLOSED).remove();
} }
}], [{ }], [{
key: 'VERSION',
// getters
get: function () {
return VERSION;
}
}, {
key: '_jQueryInterface', key: '_jQueryInterface',
// static // static
...@@ -178,6 +170,14 @@ ...@@ -178,6 +170,14 @@
alertInstance.close(this); alertInstance.close(this);
}; };
} }
}, {
key: 'VERSION',
// getters
get: function () {
return VERSION;
}
}]); }]);
return Alert; return Alert;
...@@ -208,4 +208,4 @@ ...@@ -208,4 +208,4 @@
})(jQuery); })(jQuery);
module.exports = Alert; module.exports = Alert;
}); });
\ No newline at end of file
...@@ -117,14 +117,6 @@ ...@@ -117,14 +117,6 @@
this._element = null; this._element = null;
} }
}], [{ }], [{
key: 'VERSION',
// getters
get: function () {
return VERSION;
}
}, {
key: '_jQueryInterface', key: '_jQueryInterface',
// static // static
...@@ -143,6 +135,14 @@ ...@@ -143,6 +135,14 @@
} }
}); });
} }
}, {
key: 'VERSION',
// getters
get: function () {
return VERSION;
}
}]); }]);
return Button; return Button;
...@@ -186,4 +186,4 @@ ...@@ -186,4 +186,4 @@
})(jQuery); })(jQuery);
module.exports = Button; module.exports = Button;
}); });
\ No newline at end of file
...@@ -372,19 +372,6 @@ ...@@ -372,19 +372,6 @@
} }
} }
}], [{ }], [{
key: 'VERSION',
// getters
get: function () {
return VERSION;
}
}, {
key: 'Default',
get: function () {
return Default;
}
}, {
key: '_jQueryInterface', key: '_jQueryInterface',
// static // static
...@@ -445,6 +432,19 @@ ...@@ -445,6 +432,19 @@
event.preventDefault(); event.preventDefault();
} }
}, {
key: 'VERSION',
// getters
get: function () {
return VERSION;
}
}, {
key: 'Default',
get: function () {
return Default;
}
}]); }]);
return Carousel; return Carousel;
...@@ -482,4 +482,4 @@ ...@@ -482,4 +482,4 @@
})(jQuery); })(jQuery);
module.exports = Carousel; module.exports = Carousel;
}); });
\ No newline at end of file
...@@ -295,19 +295,6 @@ ...@@ -295,19 +295,6 @@
} }
} }
}], [{ }], [{
key: 'VERSION',
// getters
get: function () {
return VERSION;
}
}, {
key: 'Default',
get: function () {
return Default;
}
}, {
key: '_getTargetFromElement', key: '_getTargetFromElement',
// static // static
...@@ -338,6 +325,19 @@ ...@@ -338,6 +325,19 @@
} }
}); });
} }
}, {
key: 'VERSION',
// getters
get: function () {
return VERSION;
}
}, {
key: 'Default',
get: function () {
return Default;
}
}]); }]);
return Collapse; return Collapse;
...@@ -377,4 +377,4 @@ ...@@ -377,4 +377,4 @@
})(jQuery); })(jQuery);
module.exports = Collapse; module.exports = Collapse;
}); });
\ No newline at end of file
...@@ -145,14 +145,6 @@ ...@@ -145,14 +145,6 @@
$(this._element).on(Event.CLICK, this.toggle); $(this._element).on(Event.CLICK, this.toggle);
} }
}], [{ }], [{
key: 'VERSION',
// getters
get: function () {
return VERSION;
}
}, {
key: '_jQueryInterface', key: '_jQueryInterface',
// static // static
...@@ -265,6 +257,14 @@ ...@@ -265,6 +257,14 @@
items[index].focus(); items[index].focus();
} }
}, {
key: 'VERSION',
// getters
get: function () {
return VERSION;
}
}]); }]);
return Dropdown; return Dropdown;
...@@ -297,4 +297,4 @@ ...@@ -297,4 +297,4 @@
})(jQuery); })(jQuery);
module.exports = Dropdown; module.exports = Dropdown;
}); });
\ No newline at end of file
...@@ -451,19 +451,6 @@ ...@@ -451,19 +451,6 @@
return scrollbarWidth; return scrollbarWidth;
} }
}], [{ }], [{
key: 'VERSION',
// getters
get: function () {
return VERSION;
}
}, {
key: 'Default',
get: function () {
return Default;
}
}, {
key: '_jQueryInterface', key: '_jQueryInterface',
// static // static
...@@ -485,6 +472,19 @@ ...@@ -485,6 +472,19 @@
} }
}); });
} }
}, {
key: 'VERSION',
// getters
get: function () {
return VERSION;
}
}, {
key: 'Default',
get: function () {
return Default;
}
}]); }]);
return Modal; return Modal;
...@@ -545,4 +545,4 @@ ...@@ -545,4 +545,4 @@
})(jQuery); })(jQuery);
module.exports = Modal; module.exports = Modal;
}); });
\ No newline at end of file
...@@ -137,6 +137,30 @@ ...@@ -137,6 +137,30 @@
return this.element.getAttribute('data-content') || (typeof this.config.content == 'function' ? this.config.content.call(this.element) : this.config.content); return this.element.getAttribute('data-content') || (typeof this.config.content == 'function' ? this.config.content.call(this.element) : this.config.content);
} }
}], [{ }], [{
key: '_jQueryInterface',
// static
value: function _jQueryInterface(config) {
return this.each(function () {
var data = $(this).data(DATA_KEY);
var _config = typeof config === 'object' ? config : null;
if (!data && /destroy|hide/.test(config)) {
return;
}
if (!data) {
data = new Popover(this, _config);
$(this).data(DATA_KEY, data);
}
if (typeof config === 'string') {
data[config]();
}
});
}
}, {
key: 'VERSION', key: 'VERSION',
// getters // getters
...@@ -174,30 +198,6 @@ ...@@ -174,30 +198,6 @@
get: function () { get: function () {
return DefaultType; return DefaultType;
} }
}, {
key: '_jQueryInterface',
// static
value: function _jQueryInterface(config) {
return this.each(function () {
var data = $(this).data(DATA_KEY);
var _config = typeof config === 'object' ? config : null;
if (!data && /destroy|hide/.test(config)) {
return;
}
if (!data) {
data = new Popover(this, _config);
$(this).data(DATA_KEY, data);
}
if (typeof config === 'string') {
data[config]();
}
});
}
}]); }]);
return Popover; return Popover;
...@@ -220,4 +220,4 @@ ...@@ -220,4 +220,4 @@
})(jQuery); })(jQuery);
module.exports = Popover; module.exports = Popover;
}); });
\ No newline at end of file
...@@ -262,19 +262,6 @@ ...@@ -262,19 +262,6 @@
} }
} }
}], [{ }], [{
key: 'VERSION',
// getters
get: function () {
return VERSION;
}
}, {
key: 'Default',
get: function () {
return Default;
}
}, {
key: '_jQueryInterface', key: '_jQueryInterface',
// static // static
...@@ -294,6 +281,19 @@ ...@@ -294,6 +281,19 @@
} }
}); });
} }
}, {
key: 'VERSION',
// getters
get: function () {
return VERSION;
}
}, {
key: 'Default',
get: function () {
return Default;
}
}]); }]);
return ScrollSpy; return ScrollSpy;
...@@ -331,4 +331,4 @@ ...@@ -331,4 +331,4 @@
})(jQuery); })(jQuery);
module.exports = ScrollSpy; module.exports = ScrollSpy;
}); });
\ No newline at end of file
...@@ -229,14 +229,6 @@ ...@@ -229,14 +229,6 @@
} }
} }
}], [{ }], [{
key: 'VERSION',
// getters
get: function () {
return VERSION;
}
}, {
key: '_jQueryInterface', key: '_jQueryInterface',
// static // static
...@@ -256,6 +248,14 @@ ...@@ -256,6 +248,14 @@
} }
}); });
} }
}, {
key: 'VERSION',
// getters
get: function () {
return VERSION;
}
}]); }]);
return Tab; return Tab;
...@@ -289,4 +289,4 @@ ...@@ -289,4 +289,4 @@
})(jQuery); })(jQuery);
module.exports = Tab; module.exports = Tab;
}); });
\ No newline at end of file
...@@ -527,6 +527,30 @@ ...@@ -527,6 +527,30 @@
return config; return config;
} }
}], [{ }], [{
key: '_jQueryInterface',
// static
value: function _jQueryInterface(config) {
return this.each(function () {
var data = $(this).data(DATA_KEY);
var _config = typeof config === 'object' ? config : null;
if (!data && /destroy|hide/.test(config)) {
return;
}
if (!data) {
data = new Tooltip(this, _config);
$(this).data(DATA_KEY, data);
}
if (typeof config === 'string') {
data[config]();
}
});
}
}, {
key: 'VERSION', key: 'VERSION',
// getters // getters
...@@ -564,30 +588,6 @@ ...@@ -564,30 +588,6 @@
get: function () { get: function () {
return DefaultType; return DefaultType;
} }
}, {
key: '_jQueryInterface',
// static
value: function _jQueryInterface(config) {
return this.each(function () {
var data = $(this).data(DATA_KEY);
var _config = typeof config === 'object' ? config : null;
if (!data && /destroy|hide/.test(config)) {
return;
}
if (!data) {
data = new Tooltip(this, _config);
$(this).data(DATA_KEY, data);
}
if (typeof config === 'string') {
data[config]();
}
});
}
}]); }]);
return Tooltip; return Tooltip;
...@@ -610,4 +610,4 @@ ...@@ -610,4 +610,4 @@
})(jQuery); })(jQuery);
module.exports = Tooltip; module.exports = Tooltip;
}); });
\ No newline at end of file
...@@ -163,4 +163,4 @@ ...@@ -163,4 +163,4 @@
})(jQuery); })(jQuery);
module.exports = Util; module.exports = Util;
}); });
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment