1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-12 00:24:03 +02: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 () {