2015-02-13 07:22:32 +03:00
|
|
|
import Ember from 'ember';
|
2015-11-30 21:23:47 +03:00
|
|
|
import Resolver from 'ember-resolver';
|
2014-05-09 09:00:10 +04:00
|
|
|
import loadInitializers from 'ember/load-initializers';
|
2015-06-13 17:34:09 +03:00
|
|
|
import 'ghost/utils/link-component';
|
2014-03-29 05:02:23 +04:00
|
|
|
import 'ghost/utils/text-field';
|
2015-02-13 07:22:32 +03:00
|
|
|
import config from './config/environment';
|
2014-02-27 08:45:45 +04:00
|
|
|
|
2015-10-28 14:36:45 +03:00
|
|
|
const {Application} = Ember;
|
|
|
|
|
2014-05-09 09:00:10 +04:00
|
|
|
Ember.MODEL_FACTORY_INJECTIONS = true;
|
|
|
|
|
2015-10-28 14:36:45 +03:00
|
|
|
let App = Application.extend({
|
|
|
|
Resolver,
|
2015-02-13 07:22:32 +03:00
|
|
|
modulePrefix: config.modulePrefix,
|
2015-10-28 14:36:45 +03:00
|
|
|
podModulePrefix: config.podModulePrefix
|
2014-02-26 08:58:00 +04:00
|
|
|
});
|
2014-03-02 18:30:35 +04:00
|
|
|
|
2015-02-13 07:22:32 +03:00
|
|
|
loadInitializers(App, config.modulePrefix);
|
2014-03-11 20:23:32 +04:00
|
|
|
|
2014-04-02 06:09:28 +04:00
|
|
|
export default App;
|