0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-27 22:49:56 -05:00
ghost/core/client/app/app.js

21 lines
504 B
JavaScript
Raw Normal View History

2015-02-12 21:22:32 -07:00
import Ember from 'ember';
2015-11-30 12:23:47 -06:00
import Resolver from 'ember-resolver';
import loadInitializers from 'ember/load-initializers';
import 'ghost/utils/link-component';
import 'ghost/utils/text-field';
2015-02-12 21:22:32 -07:00
import config from './config/environment';
const {Application} = Ember;
Ember.MODEL_FACTORY_INJECTIONS = true;
let App = Application.extend({
Resolver,
2015-02-12 21:22:32 -07:00
modulePrefix: config.modulePrefix,
podModulePrefix: config.podModulePrefix
});
2015-02-12 21:22:32 -07:00
loadInitializers(App, config.modulePrefix);
export default App;