cms/app-client/app/app.js
author ymh <ymh.work@gmail.com>
Wed, 24 Aug 2016 09:46:03 +0200
changeset 263 3deace9204de
parent 254 a7cf2887e993
child 456 3a32d2f57429
permissions -rw-r--r--
pass bo_client to ember 2.8, adjust for the hack around the aupac-typeahead bug in 2.8 (c.f. https://github.com/aupac/ember-aupac-typeahead/issues/23)

import Ember from 'ember';
import Resolver from './resolver';
import loadInitializers from 'ember-load-initializers';
import config from './config/environment';

let App;

Ember.MODEL_FACTORY_INJECTIONS = true;

App = Ember.Application.extend({
    rootElement: config.rootElement,
    modulePrefix: config.modulePrefix,
    podModulePrefix: config.podModulePrefix,
    Resolver
});

loadInitializers(App, config.modulePrefix);

export default App;