2014-02-26 23:45:45 -05:00
|
|
|
import Resolver from 'ember/resolver';
|
2014-03-02 15:12:06 -05:00
|
|
|
import initFixtures from 'ghost/fixtures/init';
|
2014-05-09 00:00:10 -05:00
|
|
|
import loadInitializers from 'ember/load-initializers';
|
2014-04-01 21:09:28 -05:00
|
|
|
import 'ghost/utils/link-view';
|
2014-03-28 20:02:23 -05:00
|
|
|
import 'ghost/utils/text-field';
|
2014-02-26 23:45:45 -05:00
|
|
|
|
2014-05-09 00:00:10 -05:00
|
|
|
Ember.MODEL_FACTORY_INJECTIONS = true;
|
|
|
|
|
2014-02-26 23:45:45 -05:00
|
|
|
var App = Ember.Application.extend({
|
2014-02-25 23:58:00 -05:00
|
|
|
/**
|
|
|
|
* These are debugging flags, they are useful during development
|
|
|
|
*/
|
|
|
|
LOG_ACTIVE_GENERATION: true,
|
|
|
|
LOG_MODULE_RESOLVER: true,
|
|
|
|
LOG_TRANSITIONS: true,
|
|
|
|
LOG_TRANSITIONS_INTERNAL: true,
|
|
|
|
LOG_VIEW_LOOKUPS: true,
|
2014-03-03 15:18:10 -05:00
|
|
|
modulePrefix: 'ghost',
|
2014-02-26 23:45:45 -05:00
|
|
|
Resolver: Resolver['default']
|
2014-02-25 23:58:00 -05:00
|
|
|
});
|
|
|
|
|
2014-03-02 15:12:06 -05:00
|
|
|
initFixtures();
|
2014-03-02 09:30:35 -05:00
|
|
|
|
2014-05-09 00:00:10 -05:00
|
|
|
loadInitializers(App, 'ghost');
|
2014-03-11 11:23:32 -05:00
|
|
|
|
2014-04-01 21:09:28 -05:00
|
|
|
export default App;
|