2014-02-27 08:45:45 +04:00
|
|
|
import Resolver from 'ember/resolver';
|
2014-05-09 09:00:10 +04:00
|
|
|
import loadInitializers from 'ember/load-initializers';
|
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-07-18 02:34:21 +04:00
|
|
|
import configureApp from 'ghost/config';
|
2014-09-25 05:06:42 +04:00
|
|
|
import ghostPathsHelper from 'ghost/helpers/ghost-paths';
|
2014-02-27 08:45:45 +04:00
|
|
|
|
2014-05-09 09:00:10 +04:00
|
|
|
Ember.MODEL_FACTORY_INJECTIONS = true;
|
|
|
|
|
2014-02-27 08:45:45 +04:00
|
|
|
var App = Ember.Application.extend({
|
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-07-18 02:34:21 +04:00
|
|
|
// Runtime configuration of Ember.Application
|
|
|
|
configureApp(App);
|
2014-03-02 18:30:35 +04:00
|
|
|
|
2014-05-09 09:00:10 +04:00
|
|
|
loadInitializers(App, 'ghost');
|
2014-03-11 20:23:32 +04:00
|
|
|
|
2014-08-19 21:06:35 +04:00
|
|
|
Ember.Handlebars.registerHelper('gh-path', ghostPathsHelper);
|
|
|
|
|
2014-04-02 06:09:28 +04:00
|
|
|
export default App;
|