framework/ember/app/app.js

16 lines
413 B
JavaScript
Raw Normal View History

2014-12-20 14:26:46 +08:00
import Ember from 'ember';
import Resolver from 'ember/resolver';
import loadInitializers from 'ember/load-initializers';
import config from './config/environment';
2014-12-20 14:26:46 +08:00
Ember.MODEL_FACTORY_INJECTIONS = true;
var App = Ember.Application.extend({
modulePrefix: config.modulePrefix,
podModulePrefix: config.podModulePrefix,
Resolver: Resolver
2014-12-20 14:26:46 +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;