From 0a5add448dac034cdfd666d1e04035ecf2bf0acd Mon Sep 17 00:00:00 2001 From: Seyi Adebajo Date: Mon, 13 Feb 2017 15:05:30 -0800 Subject: [PATCH] DSS-5869 Adds Route: application --- wherehows-web/app/routes/application.js | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 wherehows-web/app/routes/application.js diff --git a/wherehows-web/app/routes/application.js b/wherehows-web/app/routes/application.js new file mode 100644 index 0000000000..5ca5bdeea2 --- /dev/null +++ b/wherehows-web/app/routes/application.js @@ -0,0 +1,15 @@ +import Ember from 'ember'; +import ApplicationRouteMixin from 'ember-simple-auth/mixins/application-route-mixin'; + +export default Ember.Route.extend(ApplicationRouteMixin, { + init() { + this._super(...arguments); + Ember.run.scheduleOnce('afterRender', this, 'processLegacyDomOperations'); + }, + + processLegacyDomOperations() { + window.legacySearch(); + // window.legacyTree(); + window.legacyMain(); + } +}) \ No newline at end of file