1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-22 13:13:03 +02:00
This commit is contained in:
Mark Otto
2015-06-18 15:48:54 -07:00
parent e615ae053c
commit b39ce7d6c0
30 changed files with 558 additions and 558 deletions

View File

@@ -294,14 +294,6 @@ var Alert = (function ($) {
$(element).detach().trigger(Event.CLOSED).remove();
}
}], [{
key: 'VERSION',
// getters
get: function () {
return VERSION;
}
}, {
key: '_jQueryInterface',
// static
@@ -332,6 +324,14 @@ var Alert = (function ($) {
alertInstance.close(this);
};
}
}, {
key: 'VERSION',
// getters
get: function () {
return VERSION;
}
}]);
return Alert;
@@ -461,14 +461,6 @@ var Button = (function ($) {
this._element = null;
}
}], [{
key: 'VERSION',
// getters
get: function () {
return VERSION;
}
}, {
key: '_jQueryInterface',
// static
@@ -487,6 +479,14 @@ var Button = (function ($) {
}
});
}
}, {
key: 'VERSION',
// getters
get: function () {
return VERSION;
}
}]);
return Button;
@@ -880,19 +880,6 @@ var Carousel = (function ($) {
}
}
}], [{
key: 'VERSION',
// getters
get: function () {
return VERSION;
}
}, {
key: 'Default',
get: function () {
return Default;
}
}, {
key: '_jQueryInterface',
// static
@@ -953,6 +940,19 @@ var Carousel = (function ($) {
event.preventDefault();
}
}, {
key: 'VERSION',
// getters
get: function () {
return VERSION;
}
}, {
key: 'Default',
get: function () {
return Default;
}
}]);
return Carousel;
@@ -1263,19 +1263,6 @@ var Collapse = (function ($) {
}
}
}], [{
key: 'VERSION',
// getters
get: function () {
return VERSION;
}
}, {
key: 'Default',
get: function () {
return Default;
}
}, {
key: '_getTargetFromElement',
// static
@@ -1306,6 +1293,19 @@ var Collapse = (function ($) {
}
});
}
}, {
key: 'VERSION',
// getters
get: function () {
return VERSION;
}
}, {
key: 'Default',
get: function () {
return Default;
}
}]);
return Collapse;
@@ -1468,14 +1468,6 @@ var Dropdown = (function ($) {
$(this._element).on(Event.CLICK, this.toggle);
}
}], [{
key: 'VERSION',
// getters
get: function () {
return VERSION;
}
}, {
key: '_jQueryInterface',
// static
@@ -1588,6 +1580,14 @@ var Dropdown = (function ($) {
items[index].focus();
}
}, {
key: 'VERSION',
// getters
get: function () {
return VERSION;
}
}]);
return Dropdown;
@@ -2049,19 +2049,6 @@ var Modal = (function ($) {
return scrollbarWidth;
}
}], [{
key: 'VERSION',
// getters
get: function () {
return VERSION;
}
}, {
key: 'Default',
get: function () {
return Default;
}
}, {
key: '_jQueryInterface',
// static
@@ -2083,6 +2070,19 @@ var Modal = (function ($) {
}
});
}
}, {
key: 'VERSION',
// getters
get: function () {
return VERSION;
}
}, {
key: 'Default',
get: function () {
return Default;
}
}]);
return Modal;
@@ -2383,19 +2383,6 @@ var ScrollSpy = (function ($) {
}
}
}], [{
key: 'VERSION',
// getters
get: function () {
return VERSION;
}
}, {
key: 'Default',
get: function () {
return Default;
}
}, {
key: '_jQueryInterface',
// static
@@ -2415,6 +2402,19 @@ var ScrollSpy = (function ($) {
}
});
}
}, {
key: 'VERSION',
// getters
get: function () {
return VERSION;
}
}, {
key: 'Default',
get: function () {
return Default;
}
}]);
return ScrollSpy;
@@ -2659,14 +2659,6 @@ var Tab = (function ($) {
}
}
}], [{
key: 'VERSION',
// getters
get: function () {
return VERSION;
}
}, {
key: '_jQueryInterface',
// static
@@ -2686,6 +2678,14 @@ var Tab = (function ($) {
}
});
}
}, {
key: 'VERSION',
// getters
get: function () {
return VERSION;
}
}]);
return Tab;
@@ -3224,6 +3224,30 @@ var Tooltip = (function ($) {
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',
// getters
@@ -3261,30 +3285,6 @@ var Tooltip = (function ($) {
get: function () {
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;
@@ -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);
}
}], [{
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',
// getters
@@ -3457,30 +3481,6 @@ var Popover = (function ($) {
get: function () {
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;

File diff suppressed because one or more lines are too long

18
dist/js/umd/alert.js vendored
View File

@@ -140,14 +140,6 @@
$(element).detach().trigger(Event.CLOSED).remove();
}
}], [{
key: 'VERSION',
// getters
get: function () {
return VERSION;
}
}, {
key: '_jQueryInterface',
// static
@@ -178,6 +170,14 @@
alertInstance.close(this);
};
}
}, {
key: 'VERSION',
// getters
get: function () {
return VERSION;
}
}]);
return Alert;
@@ -208,4 +208,4 @@
})(jQuery);
module.exports = Alert;
});
});

18
dist/js/umd/button.js vendored
View File

@@ -117,14 +117,6 @@
this._element = null;
}
}], [{
key: 'VERSION',
// getters
get: function () {
return VERSION;
}
}, {
key: '_jQueryInterface',
// static
@@ -143,6 +135,14 @@
}
});
}
}, {
key: 'VERSION',
// getters
get: function () {
return VERSION;
}
}]);
return Button;
@@ -186,4 +186,4 @@
})(jQuery);
module.exports = Button;
});
});

View File

@@ -372,19 +372,6 @@
}
}
}], [{
key: 'VERSION',
// getters
get: function () {
return VERSION;
}
}, {
key: 'Default',
get: function () {
return Default;
}
}, {
key: '_jQueryInterface',
// static
@@ -445,6 +432,19 @@
event.preventDefault();
}
}, {
key: 'VERSION',
// getters
get: function () {
return VERSION;
}
}, {
key: 'Default',
get: function () {
return Default;
}
}]);
return Carousel;
@@ -482,4 +482,4 @@
})(jQuery);
module.exports = Carousel;
});
});

View File

@@ -295,19 +295,6 @@
}
}
}], [{
key: 'VERSION',
// getters
get: function () {
return VERSION;
}
}, {
key: 'Default',
get: function () {
return Default;
}
}, {
key: '_getTargetFromElement',
// static
@@ -338,6 +325,19 @@
}
});
}
}, {
key: 'VERSION',
// getters
get: function () {
return VERSION;
}
}, {
key: 'Default',
get: function () {
return Default;
}
}]);
return Collapse;
@@ -377,4 +377,4 @@
})(jQuery);
module.exports = Collapse;
});
});

View File

@@ -145,14 +145,6 @@
$(this._element).on(Event.CLICK, this.toggle);
}
}], [{
key: 'VERSION',
// getters
get: function () {
return VERSION;
}
}, {
key: '_jQueryInterface',
// static
@@ -265,6 +257,14 @@
items[index].focus();
}
}, {
key: 'VERSION',
// getters
get: function () {
return VERSION;
}
}]);
return Dropdown;
@@ -297,4 +297,4 @@
})(jQuery);
module.exports = Dropdown;
});
});

28
dist/js/umd/modal.js vendored
View File

@@ -451,19 +451,6 @@
return scrollbarWidth;
}
}], [{
key: 'VERSION',
// getters
get: function () {
return VERSION;
}
}, {
key: 'Default',
get: function () {
return Default;
}
}, {
key: '_jQueryInterface',
// static
@@ -485,6 +472,19 @@
}
});
}
}, {
key: 'VERSION',
// getters
get: function () {
return VERSION;
}
}, {
key: 'Default',
get: function () {
return Default;
}
}]);
return Modal;
@@ -545,4 +545,4 @@
})(jQuery);
module.exports = Modal;
});
});

View File

@@ -137,6 +137,30 @@
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',
// getters
@@ -174,30 +198,6 @@
get: function () {
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;
@@ -220,4 +220,4 @@
})(jQuery);
module.exports = Popover;
});
});

View File

@@ -262,19 +262,6 @@
}
}
}], [{
key: 'VERSION',
// getters
get: function () {
return VERSION;
}
}, {
key: 'Default',
get: function () {
return Default;
}
}, {
key: '_jQueryInterface',
// static
@@ -294,6 +281,19 @@
}
});
}
}, {
key: 'VERSION',
// getters
get: function () {
return VERSION;
}
}, {
key: 'Default',
get: function () {
return Default;
}
}]);
return ScrollSpy;
@@ -331,4 +331,4 @@
})(jQuery);
module.exports = ScrollSpy;
});
});

18
dist/js/umd/tab.js vendored
View File

@@ -229,14 +229,6 @@
}
}
}], [{
key: 'VERSION',
// getters
get: function () {
return VERSION;
}
}, {
key: '_jQueryInterface',
// static
@@ -256,6 +248,14 @@
}
});
}
}, {
key: 'VERSION',
// getters
get: function () {
return VERSION;
}
}]);
return Tab;
@@ -289,4 +289,4 @@
})(jQuery);
module.exports = Tab;
});
});

View File

@@ -527,6 +527,30 @@
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',
// getters
@@ -564,30 +588,6 @@
get: function () {
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;
@@ -610,4 +610,4 @@
})(jQuery);
module.exports = Tooltip;
});
});

2
dist/js/umd/util.js vendored
View File

@@ -163,4 +163,4 @@
})(jQuery);
module.exports = Util;
});
});