mirror of
https://github.com/flarum/framework.git
synced 2024-12-05 09:03:36 +08:00
16 lines
413 B
JavaScript
16 lines
413 B
JavaScript
import Ember from 'ember';
|
|
import Resolver from 'ember/resolver';
|
|
import loadInitializers from 'ember/load-initializers';
|
|
import config from './config/environment';
|
|
|
|
Ember.MODEL_FACTORY_INJECTIONS = true;
|
|
|
|
var App = Ember.Application.extend({
|
|
modulePrefix: config.modulePrefix,
|
|
podModulePrefix: config.podModulePrefix,
|
|
Resolver: Resolver
|
|
});
|
|
|
|
loadInitializers(App, config.modulePrefix);
|
|
|
|
export default App; |