2015-02-13 07:22:32 +03:00
|
|
|
import Ember from 'ember';
|
2016-06-30 13:21:47 +03:00
|
|
|
import Application from 'ember-application';
|
2016-02-16 21:32:48 +03:00
|
|
|
import Resolver from './resolver';
|
|
|
|
import loadInitializers from 'ember-load-initializers';
|
2016-06-30 17:45:02 +03:00
|
|
|
import 'ghost-admin/utils/route';
|
2016-05-24 15:06:59 +03:00
|
|
|
import 'ghost-admin/utils/link-component';
|
|
|
|
import 'ghost-admin/utils/text-field';
|
2015-02-13 07:22:32 +03:00
|
|
|
import config from './config/environment';
|
2014-02-27 08:45:45 +04:00
|
|
|
|
2014-05-09 09:00:10 +04:00
|
|
|
Ember.MODEL_FACTORY_INJECTIONS = true;
|
|
|
|
|
2015-10-28 14:36:45 +03:00
|
|
|
let App = Application.extend({
|
|
|
|
Resolver,
|
2015-02-13 07:22:32 +03:00
|
|
|
modulePrefix: config.modulePrefix,
|
2017-02-03 16:25:26 +03:00
|
|
|
podModulePrefix: config.podModulePrefix,
|
|
|
|
|
|
|
|
customEvents: {
|
|
|
|
touchstart: null,
|
|
|
|
touchmove: null,
|
|
|
|
touchend: null,
|
|
|
|
touchcancel: null
|
|
|
|
}
|
2014-02-26 08:58:00 +04:00
|
|
|
});
|
2014-03-02 18:30:35 +04:00
|
|
|
|
2015-02-13 07:22:32 +03:00
|
|
|
loadInitializers(App, config.modulePrefix);
|
2014-03-11 20:23:32 +04:00
|
|
|
|
2014-04-02 06:09:28 +04:00
|
|
|
export default App;
|