Replace '_.filter' to 'Array.prototype.filter'

This commit is contained in:
Hongarc 2018-12-01 08:27:01 +07:00
parent e324e51587
commit dddf063146
2 changed files with 6 additions and 6 deletions

View file

@ -235,7 +235,7 @@ var LevelDropdownView = ContainedBase.extend({
},
getSequencesOnTab: function() {
return _.filter(this.sequences, function(sequenceName) {
return this.sequences.filter(function(sequenceName) {
var tab = LEVELS.getTabForSequence(sequenceName);
return tab === this.JSON.selectedTab;
}, this);