Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
vidjil
vidjil
Commits
96fc90cf
Commit
96fc90cf
authored
Oct 06, 2017
by
Mathieu Giraud
Browse files
js/autocomplete.js, js/database.js: jshint
parent
32654856
Changes
2
Hide whitespace changes
Inline
Side-by-side
browser/js/autocomplete.js
View file @
96fc90cf
...
...
@@ -203,12 +203,12 @@ VidjilAutoComplete.prototype = {
// remove duplicates
var
seen
=
[];
loaded_data
=
loaded_data
.
filter
(
function
(
elem
)
{
var
res
=
seen
.
indexOf
(
elem
[
'
name
'
]
);
var
res
=
seen
.
indexOf
(
elem
.
name
);
if
(
res
<
0
)
{
seen
.
push
(
elem
[
'
name
'
]
);
seen
.
push
(
elem
.
name
);
}
return
res
;
})
;
})
$input
.
atwho
(
'
load
'
,
at
,
loaded_data
);;
// This trigger at.js again
...
...
browser/js/database.js
View file @
96fc90cf
...
...
@@ -279,7 +279,7 @@ Database.prototype = {
var
args
=
{};
args
[
type
]
=
name
;
args
[
param
]
=
name
;
args
[
'
type
'
]
=
sample_type
;
args
.
type
=
sample_type
;
this
.
call
(
href
,
args
);
},
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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