-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make legend artists case-insensitive
Move to ES classes for backbone extending, which found some type errors. Fix a type error (array.size() does not exist) in num_requests_pending.
- Loading branch information
Showing
30 changed files
with
250 additions
and
169 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,23 @@ | ||
const FilterBoxView = Backbone.View.extend({ | ||
el: "#searchForm", | ||
render(isDrawn) { | ||
if (isDrawn) { | ||
class FilterBoxView extends Backbone.View { | ||
constructor() { | ||
super(...arguments); | ||
this.isDrawn = false; | ||
} | ||
render() { | ||
if (this.isDrawn) { | ||
this.$el.fadeIn(1000); | ||
} | ||
else { | ||
this.$el.hide(); | ||
} | ||
}, | ||
return this; | ||
} | ||
val() { return $("#search").val(); } | ||
} | ||
const filterBoxView = new FilterBoxView({ | ||
el: "#searchForm", | ||
}); | ||
graphViewModel.on("change:isDrawn", (model, isDrawn) => { | ||
filterBoxView.isDrawn = isDrawn; | ||
filterBoxView.render(); | ||
}); | ||
const filterBoxView = new FilterBoxView; | ||
graphViewModel.on("change:isDrawn", (model, isDrawn) => filterBoxView.render(isDrawn)); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.