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
9c4afc57
Commit
9c4afc57
authored
10 years ago
by
Chris Rebert
Browse files
Options
Download
Email Patches
Plain Diff
spelling fixes in Carousel unit tests
parent
52b6a321
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
js/tests/unit/carousel.js
+3
-3
js/tests/unit/carousel.js
with
3 additions
and
3 deletions
+3
-3
js/tests/unit/carousel.js
+
3
-
3
View file @
9c4afc57
...
@@ -4,11 +4,11 @@ $(function () {
...
@@ -4,11 +4,11 @@ $(function () {
test
(
'
should provide no conflict
'
,
function
()
{
test
(
'
should provide no conflict
'
,
function
()
{
var
carousel
=
$
.
fn
.
carousel
.
noConflict
()
var
carousel
=
$
.
fn
.
carousel
.
noConflict
()
ok
(
!
$
.
fn
.
carousel
,
'
carousel was set back to undefined (org value)
'
)
ok
(
!
$
.
fn
.
carousel
,
'
carousel was set back to undefined (or
i
g value)
'
)
$
.
fn
.
carousel
=
carousel
$
.
fn
.
carousel
=
carousel
})
})
test
(
'
should be defined on j
q
uery object
'
,
function
()
{
test
(
'
should be defined on j
Q
uery object
'
,
function
()
{
ok
(
$
(
document
.
body
).
carousel
,
'
carousel method is defined
'
)
ok
(
$
(
document
.
body
).
carousel
,
'
carousel method is defined
'
)
})
})
...
@@ -98,7 +98,7 @@ $(function () {
...
@@ -98,7 +98,7 @@ $(function () {
$
(
'
[data-slide]
'
).
first
().
click
()
$
(
'
[data-slide]
'
).
first
().
click
()
$
(
'
#myCarousel
'
).
attr
(
'
data-interval
'
,
1860
)
$
(
'
#myCarousel
'
).
attr
(
'
data-interval
'
,
1860
)
$
(
'
[data-slide]
'
).
first
().
click
()
$
(
'
[data-slide]
'
).
first
().
click
()
ok
(
$
(
'
#myCarousel
'
).
data
(
'
bs.carousel
'
).
options
.
interval
==
1814
,
'
attributes should be read only on in
t
itialization
'
)
ok
(
$
(
'
#myCarousel
'
).
data
(
'
bs.carousel
'
).
options
.
interval
==
1814
,
'
attributes should be read only on initialization
'
)
$
(
'
#myCarousel
'
).
remove
()
$
(
'
#myCarousel
'
).
remove
()
template
.
attr
(
'
data-interval
'
,
false
)
template
.
attr
(
'
data-interval
'
,
false
)
...
...
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