2014-02-27 08:45:45 +04:00
|
|
|
import Resolver from 'ember/resolver';
|
2014-03-03 00:12:06 +04:00
|
|
|
import initFixtures from 'ghost/fixtures/init';
|
2014-03-11 20:23:32 +04:00
|
|
|
import {currentUser, injectCurrentUser} from 'ghost/initializers/current-user';
|
2014-03-22 16:08:15 +04:00
|
|
|
import {registerNotifications, injectNotifications} from 'ghost/initializers/notifications';
|
2014-04-02 06:09:28 +04:00
|
|
|
import 'ghost/utils/link-view';
|
2014-03-29 05:02:23 +04:00
|
|
|
import 'ghost/utils/text-field';
|
2014-02-27 08:45:45 +04:00
|
|
|
|
|
|
|
var App = Ember.Application.extend({
|
2014-02-26 08:58:00 +04: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-04 00:18:10 +04:00
|
|
|
modulePrefix: 'ghost',
|
2014-02-27 08:45:45 +04:00
|
|
|
Resolver: Resolver['default']
|
2014-02-26 08:58:00 +04:00
|
|
|
});
|
|
|
|
|
2014-03-03 00:12:06 +04:00
|
|
|
initFixtures();
|
2014-03-02 18:30:35 +04:00
|
|
|
|
2014-03-11 20:23:32 +04:00
|
|
|
App.initializer(currentUser);
|
|
|
|
App.initializer(injectCurrentUser);
|
2014-03-22 16:08:15 +04:00
|
|
|
App.initializer(registerNotifications);
|
|
|
|
App.initializer(injectNotifications);
|
2014-03-11 20:23:32 +04:00
|
|
|
|
2014-04-02 06:09:28 +04:00
|
|
|
export default App;
|