<commit_before>import Ember from 'ember';
import Resolver from './resolver';
import loadInitializers from 'ember-load-initializers';
import config from './config/environment';

let App;

Ember.MODEL_FACTORY_INJECTIONS = true;

App = Ember.Application.extend({
    modulePrefix: config.modulePrefix,
    podModulePrefix: config.podModulePrefix,
    Resolver,

    init() {
        this._super(...arguments);

        window.App = this;
    },

    serviceFor(name) {
        return this.__container__.lookup(`service:${name}`);
    }
});<commit_msg>add componentFor for debugging<commit_after>import Ember from 'ember';
import Resolver from './resolver';
import loadInitializers from 'ember-load-initializers';
import config from './config/environment';

let App;

Ember.MODEL_FACTORY_INJECTIONS = true;

App = Ember.Application.extend({
    modulePrefix: config.modulePrefix,
    podModulePrefix: config.podModulePrefix,
    Resolver,

    init() {
        this._super(...arguments);

        window.App = this;
    },

    serviceFor(name) {
        return this.__container__.lookup(`service:${name}`);
    },

    componentFor: function (id) {
        return this.__container__.lookup('-view-registry:main')[id];
    }
});
{'fraction_non_alphanumeric': 0.13071895424836602, 'fraction_numerical': 0.0, 'mean_word_length': 3.5708955223880596, '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': '1810964', 'n_tokens_mistral': 371, 'n_tokens_neox': 358, 'n_words': 76}