mirror of
https://github.com/flarum/framework.git
synced 2024-12-01 14:20:47 +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; |