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:
parent
b23ca2de41
commit
d9edf28c5f
@ -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 () {
|
||||||
|
Loading…
Reference in New Issue
Block a user