aboutsummaryrefslogtreecommitdiff
path: root/js/tests
diff options
context:
space:
mode:
authorChris Rebert <[email protected]>2014-05-01 13:37:44 -0700
committerChris Rebert <[email protected]>2014-05-01 13:37:44 -0700
commitd9edf28c5f8607a217ec2b7945ca98f66938b623 (patch)
tree6cfdf68bf813dcf0e54aca0d937f7b2db004af9c /js/tests
parentb23ca2de41462f7de9d1be0cdf932e5b42e9fc75 (diff)
downloadbootstrap-d9edf28c5f8607a217ec2b7945ca98f66938b623.tar.xz
bootstrap-d9edf28c5f8607a217ec2b7945ca98f66938b623.zip
make new Carousel tests compatible with noConflict mode
Diffstat (limited to 'js/tests')
-rw-r--r--js/tests/unit/carousel.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/tests/unit/carousel.js b/js/tests/unit/carousel.js
index 8657ee00a..5fd875c8c 100644
--- a/js/tests/unit/carousel.js
+++ b/js/tests/unit/carousel.js
@@ -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 () {