0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-29 11:24:18 +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 === 'right' || e.direction === 'left')
start()
}).carousel('next')
}).bootstrapCarousel('next')
})
test('should fire slide event with relatedTarget', function () {
@ -112,7 +112,7 @@ $(function () {
ok($(e.relatedTarget).hasClass('item'))
start()
})
.carousel('next')
.bootstrapCarousel('next')
})
test('should set interval from data attribute', 4, function () {