1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-13 17:14:04 +02: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

5
js/dist/carousel.js vendored
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();