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
3451dcbc
Commit
3451dcbc
authored
13 years ago
by
Jacob Thornton
Browse files
Options
Download
Email Patches
Plain Diff
fix failing typeahead tests
parent
08fea758
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
js/tests/unit/bootstrap-typeahead.js
+4
-4
js/tests/unit/bootstrap-typeahead.js
with
4 additions
and
4 deletions
+4
-4
js/tests/unit/bootstrap-typeahead.js
+
4
-
4
View file @
3451dcbc
...
...
@@ -38,7 +38,7 @@ $(function () {
test
(
"
should show menu when query entered
"
,
function
()
{
var
$input
=
$
(
'
<input />
'
).
typeahead
({
data
:
[
'
aa
'
,
'
ab
'
,
'
ac
'
]
source
:
[
'
aa
'
,
'
ab
'
,
'
ac
'
]
})
,
typeahead
=
$input
.
data
(
'
typeahead
'
)
...
...
@@ -55,7 +55,7 @@ $(function () {
test
(
"
should hide menu when query entered
"
,
function
()
{
stop
()
var
$input
=
$
(
'
<input />
'
).
typeahead
({
data
:
[
'
aa
'
,
'
ab
'
,
'
ac
'
]
source
:
[
'
aa
'
,
'
ab
'
,
'
ac
'
]
})
,
typeahead
=
$input
.
data
(
'
typeahead
'
)
...
...
@@ -78,7 +78,7 @@ $(function () {
test
(
"
should set next item when down arrow is pressed
"
,
function
()
{
var
$input
=
$
(
'
<input />
'
).
typeahead
({
data
:
[
'
aa
'
,
'
ab
'
,
'
ac
'
]
source
:
[
'
aa
'
,
'
ab
'
,
'
ac
'
]
})
,
typeahead
=
$input
.
data
(
'
typeahead
'
)
...
...
@@ -111,7 +111,7 @@ $(function () {
test
(
"
should set input value to selected item
"
,
function
()
{
var
$input
=
$
(
'
<input />
'
).
typeahead
({
data
:
[
'
aa
'
,
'
ab
'
,
'
ac
'
]
source
:
[
'
aa
'
,
'
ab
'
,
'
ac
'
]
})
,
typeahead
=
$input
.
data
(
'
typeahead
'
)
...
...
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