2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-05 16:42:29 +03:00

grunt dist

This commit is contained in:
Chris Rebert
2015-10-09 21:03:43 -07:00
parent c989fcc857
commit b74536fa8c
32 changed files with 129 additions and 57 deletions
+4 -1
View File
@@ -387,7 +387,10 @@ var Carousel = (function ($) {
if (typeof config === 'number') {
data.to(config);
} else if (action) {
} else if (typeof action === 'string') {
if (data[action] === undefined) {
throw new Error('No method named "' + action + '"');
}
data[action]();
} else if (_config.interval) {
data.pause();
+1 -1
View File
File diff suppressed because one or more lines are too long
+3
View File
@@ -314,6 +314,9 @@ var Collapse = (function ($) {
}
if (typeof config === 'string') {
if (data[config] === undefined) {
throw new Error('No method named "' + config + '"');
}
data[config]();
}
});
+1 -1
View File
File diff suppressed because one or more lines are too long
+3
View File
@@ -149,6 +149,9 @@ var Dropdown = (function ($) {
}
if (typeof config === 'string') {
if (data[config] === undefined) {
throw new Error('No method named "' + config + '"');
}
data[config].call(this);
}
});
+1 -1
View File
File diff suppressed because one or more lines are too long
+3
View File
@@ -462,6 +462,9 @@ var Modal = (function ($) {
}
if (typeof config === 'string') {
if (data[config] === undefined) {
throw new Error('No method named "' + config + '"');
}
data[config](relatedTarget);
} else if (_config.show) {
data.show(relatedTarget);
+1 -1
View File
File diff suppressed because one or more lines are too long
+3
View File
@@ -139,6 +139,9 @@ var Popover = (function ($) {
}
if (typeof config === 'string') {
if (data[config] === undefined) {
throw new Error('No method named "' + config + '"');
}
data[config]();
}
});
+1 -1
View File
File diff suppressed because one or more lines are too long
+3
View File
@@ -271,6 +271,9 @@ var ScrollSpy = (function ($) {
}
if (typeof config === 'string') {
if (data[config] === undefined) {
throw new Error('No method named "' + config + '"');
}
data[config]();
}
});
+1 -1
View File
File diff suppressed because one or more lines are too long
+3
View File
@@ -223,6 +223,9 @@ var Tab = (function ($) {
}
if (typeof config === 'string') {
if (data[config] === undefined) {
throw new Error('No method named "' + config + '"');
}
data[config]();
}
});
+1 -1
View File
File diff suppressed because one or more lines are too long
+3
View File
@@ -560,6 +560,9 @@ var Tooltip = (function ($) {
}
if (typeof config === 'string') {
if (data[config] === undefined) {
throw new Error('No method named "' + config + '"');
}
data[config]();
}
});
+1 -1
View File
File diff suppressed because one or more lines are too long