mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-29 07:09:48 +03:00
28 lines
690 B
JavaScript
Executable File
28 lines
690 B
JavaScript
Executable File
import Ember from 'ember';
|
|
import Application from 'ember-application';
|
|
import Resolver from './resolver';
|
|
import loadInitializers from 'ember-load-initializers';
|
|
import 'ghost-admin/utils/route';
|
|
import 'ghost-admin/utils/link-component';
|
|
import 'ghost-admin/utils/text-field';
|
|
import config from './config/environment';
|
|
|
|
Ember.MODEL_FACTORY_INJECTIONS = true;
|
|
|
|
let App = Application.extend({
|
|
Resolver,
|
|
modulePrefix: config.modulePrefix,
|
|
podModulePrefix: config.podModulePrefix,
|
|
|
|
customEvents: {
|
|
touchstart: null,
|
|
touchmove: null,
|
|
touchend: null,
|
|
touchcancel: null
|
|
}
|
|
});
|
|
|
|
loadInitializers(App, config.modulePrefix);
|
|
|
|
export default App;
|