Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
d9edf28c
Commit
d9edf28c
authored
10 years ago
by
Chris Rebert
Browse files
Options
Download
Email Patches
Plain Diff
make new Carousel tests compatible with noConflict mode
parent
b23ca2de
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
js/tests/unit/carousel.js
+2
-2
js/tests/unit/carousel.js
with
2 additions
and
2 deletions
+2
-2
js/tests/unit/carousel.js
+
2
-
2
View file @
d9edf28c
...
@@ -84,7 +84,7 @@ $(function () {
...
@@ -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
()
}).
c
arousel
(
'
next
'
)
}).
bootstrapC
arousel
(
'
next
'
)
})
})
test
(
'
should fire slide event with relatedTarget
'
,
function
()
{
test
(
'
should fire slide event with relatedTarget
'
,
function
()
{
...
@@ -112,7 +112,7 @@ $(function () {
...
@@ -112,7 +112,7 @@ $(function () {
ok
(
$
(
e
.
relatedTarget
).
hasClass
(
'
item
'
))
ok
(
$
(
e
.
relatedTarget
).
hasClass
(
'
item
'
))
start
()
start
()
})
})
.
c
arousel
(
'
next
'
)
.
bootstrapC
arousel
(
'
next
'
)
})
})
test
(
'
should set interval from data attribute
'
,
4
,
function
()
{
test
(
'
should set interval from data attribute
'
,
4
,
function
()
{
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment