Ghost/core/client/app.js
2014-09-24 20:06:42 -05:00

23 lines
585 B
JavaScript
Executable File

import Resolver from 'ember/resolver';
import loadInitializers from 'ember/load-initializers';
import 'ghost/utils/link-view';
import 'ghost/utils/text-field';
import configureApp from 'ghost/config';
import ghostPathsHelper from 'ghost/helpers/ghost-paths';
Ember.MODEL_FACTORY_INJECTIONS = true;
var App = Ember.Application.extend({
modulePrefix: 'ghost',
Resolver: Resolver['default']
});
// Runtime configuration of Ember.Application
configureApp(App);
loadInitializers(App, 'ghost');
Ember.Handlebars.registerHelper('gh-path', ghostPathsHelper);
export default App;