Skip to content

Commit

Permalink
Removal of self reference and unused import in visualization.js
Browse files Browse the repository at this point in the history
  • Loading branch information
dannon committed Jan 23, 2018
1 parent 4112bd5 commit 975e41a
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions client/galaxy/scripts/viz/visualization.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import util_mod from "viz/trackster/util";
import config_mod from "utils/config";
import GridView from "mvc/grid/grid-view";
import Tabs from "mvc/ui/ui-tabs";
import Ui from "mvc/ui/ui-misc";
/**
* Mixin for returning custom JSON representation from toJSON. Class attribute to_json_keys defines a set of attributes
* to include in the representation; to_json_mappers defines mappers for returned objects.
Expand Down Expand Up @@ -1112,9 +1111,8 @@ var TrackBrowserRouter = Backbone.Router.extend({
this.route(/([\w\+]+\:[\d,]+-[\d,]+)$/, "change_location");

// Handle navigate events from view.
var self = this;
self.view.on("navigate", new_loc => {
self.navigate(new_loc);
this.view.on("navigate", new_loc => {
this.navigate(new_loc);
});
},

Expand Down

0 comments on commit 975e41a

Please sign in to comment.