2014-12-20 14:26:46 +08:00
|
|
|
import Ember from 'ember';
|
|
|
|
import Resolver from 'ember/resolver';
|
|
|
|
import loadInitializers from 'ember/load-initializers';
|
2014-12-23 10:15:07 +08:00
|
|
|
import config from './config/environment';
|
2014-12-20 14:26:46 +08:00
|
|
|
|
|
|
|
Ember.MODEL_FACTORY_INJECTIONS = true;
|
|
|
|
|
|
|
|
var App = Ember.Application.extend({
|
2014-12-23 10:15:07 +08:00
|
|
|
modulePrefix: config.modulePrefix,
|
|
|
|
podModulePrefix: config.podModulePrefix,
|
|
|
|
Resolver: Resolver
|
2014-12-20 14:26:46 +08:00
|
|
|
});
|
|
|
|
|
2014-12-23 10:15:07 +08:00
|
|
|
loadInitializers(App, config.modulePrefix);
|
2014-12-20 14:26:46 +08:00
|
|
|
|
2015-02-06 08:05:46 +08:00
|
|
|
export default App;
|