2
0
mirror of https://github.com/tenrok/bootstrap.git synced 2026-06-11 18:02:28 +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();