mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-13 14:39:52 +03:00
fd8837511f
[Ember.js] Implement Notifications for Ember
29 lines
851 B
JavaScript
Executable File
29 lines
851 B
JavaScript
Executable File
import Resolver from 'ember/resolver';
|
|
import initFixtures from 'ghost/fixtures/init';
|
|
import {currentUser, injectCurrentUser} from 'ghost/initializers/current-user';
|
|
import {registerNotifications, injectNotifications} from 'ghost/initializers/notifications';
|
|
import 'ghost/utils/link-view';
|
|
import 'ghost/utils/text-field';
|
|
|
|
var App = Ember.Application.extend({
|
|
/**
|
|
* 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,
|
|
modulePrefix: 'ghost',
|
|
Resolver: Resolver['default']
|
|
});
|
|
|
|
initFixtures();
|
|
|
|
App.initializer(currentUser);
|
|
App.initializer(injectCurrentUser);
|
|
App.initializer(registerNotifications);
|
|
App.initializer(injectNotifications);
|
|
|
|
export default App;
|