datahub/wherehows-web/app/routes/application.js

23 lines
520 B
JavaScript
Raw Normal View History

2017-02-13 15:05:30 -08:00
import Ember from 'ember';
import ApplicationRouteMixin
from 'ember-simple-auth/mixins/application-route-mixin';
2017-02-13 15:05:30 -08:00
const {
Route,
run
} = Ember;
export default Route.extend(ApplicationRouteMixin, {
2017-02-13 15:05:30 -08:00
init() {
this._super(...arguments);
run.scheduleOnce('afterRender', this, 'processLegacyDomOperations');
2017-02-13 15:05:30 -08:00
},
processLegacyDomOperations() {
window.legacySearch();
// TODO: DSS-6122 Refactor Remove tree legacy operations & references
2017-02-13 15:05:30 -08:00
// window.legacyTree();
window.legacyMain();
}
});