mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-15 19:52:01 +03:00
813ed19b2c
Refs #4144
23 lines
585 B
JavaScript
Executable File
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;
|