Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
H
hub.io
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container registry
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Peyton Tanzillo
hub.io
Commits
b6989d2a
Commit
b6989d2a
authored
6 years ago
by
Samir Kashyap
Browse files
Options
Downloads
Patches
Plain Diff
Fixed whitespace
parent
85fb3535
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
script.js
+1
-20
1 addition, 20 deletions
script.js
with
1 addition
and
20 deletions
script.js
+
1
−
20
View file @
b6989d2a
...
...
@@ -50,8 +50,6 @@ $(document).ready(function() {
});
}
let
serviceToLoginID
=
new
Map
();
serviceToLoginID
.
set
(
"
#netflixLogin
"
,
[
"
Netflix
"
,
"
netflix
"
]);
serviceToLoginID
.
set
(
"
#huluLogin
"
,
[
"
Hulu
"
,
"
hulu
"
]);
...
...
@@ -118,9 +116,6 @@ $(document).ready(function() {
}
});
function
sortbyGenre
(
genre
)
{
// returns results that are the selected genre
let
results
=
[];
for
(
var
i
=
0
;
i
<
Medias
.
length
;
i
++
)
{
...
...
@@ -133,16 +128,6 @@ $(document).ready(function() {
return
results
;
}
// function sortbyGenre(genre) { // returns results that are the selected genre
// let results = [];
// for (var i = 0; i < Medias.length; i++) {
// if (Medias[i].genre === genre) {
// results.push(Medias[i]);
// }
// }
// return results;
// }
function
updateList
()
{
$
(
'
#recommended
'
).
empty
();
let
activeServices
=
findActiveServices
();
...
...
@@ -243,7 +228,6 @@ $(document).ready(function() {
});
}
let
ScrollAmount
=
500
;
$
(
'
#recommended-scroll-right
'
).
click
(
function
()
{
...
...
@@ -274,9 +258,6 @@ $(document).ready(function() {
document
.
getElementById
(
'
results
'
).
scrollLeft
-=
ScrollAmount
;
});
$
(
'
#genre-selector
'
).
change
(
function
()
{
updateGenres
();
});
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment