19 lines
490 B
Plaintext
Raw Normal View History

import Resolver from 'wizard/resolver';
import Router from 'wizard/router';
export default Ember.Application.extend({
rootElement: '#wizard-main',
Resolver,
2016-08-25 13:14:56 -04:00
Router,
start() {
Object.keys(requirejs._eak_seen).forEach(key => {
if (/\/initializers\//.test(key)) {
const module = require(key, null, null, true);
if (!module) { throw new Error(key + ' must export an initializer.'); }
this.instanceInitializer(module.default);
}
});
}
});