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-03-23 09:36:55 +08:00
|
|
|
Ember.$('#assets-loading').remove();
|
|
|
|
|
|
|
|
export default App;
|