<commit_before>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();
  }
})<commit_msg>Updates application route: Adds todo and some code style updates<commit_after>import Ember from 'ember';
import ApplicationRouteMixin
  from 'ember-simple-auth/mixins/application-route-mixin';

const {
  Route,
  run
} = Ember;

export default Route.extend(ApplicationRouteMixin, {
  init() {
    this._super(...arguments);
    run.scheduleOnce('afterRender', this, 'processLegacyDomOperations');
  },

  processLegacyDomOperations() {
    window.legacySearch();
    // TODO: DSS-6122 Refactor Remove tree legacy operations & references
    // window.legacyTree();
    window.legacyMain();
  }
});
{'fraction_non_alphanumeric': 0.13039309683604985, 'fraction_numerical': 0.003835091083413231, 'mean_word_length': 4.523809523809524, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7136577', 'n_tokens_mistral': 316, 'n_tokens_neox': 314, 'n_words': 61}