0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-02 14:24:19 +01:00

make new Carousel tests compatible with noConflict mode

This commit is contained in:
Chris Rebert 2014-05-01 13:37:44 -07:00
parent b23ca2de41
commit d9edf28c5f

View File

@ -84,7 +84,7 @@ $(function () {
ok(e.direction) ok(e.direction)
ok(e.direction === 'right' || e.direction === 'left') ok(e.direction === 'right' || e.direction === 'left')
start() start()
}).carousel('next') }).bootstrapCarousel('next')
}) })
test('should fire slide event with relatedTarget', function () { test('should fire slide event with relatedTarget', function () {
@ -112,7 +112,7 @@ $(function () {
ok($(e.relatedTarget).hasClass('item')) ok($(e.relatedTarget).hasClass('item'))
start() start()
}) })
.carousel('next') .bootstrapCarousel('next')
}) })
test('should set interval from data attribute', 4, function () { test('should set interval from data attribute', 4, function () {