open-vault/ui/lib/open-api-explorer/addon/engine.js

19 lines
493 B
JavaScript
Raw Normal View History

import Engine from 'ember-engines/engine';
import loadInitializers from 'ember-load-initializers';
import Resolver from './resolver';
import config from './config/environment';
const { modulePrefix } = config;
/* eslint-disable ember/avoid-leaking-state-in-ember-objects */
const Eng = Engine.extend({
modulePrefix,
Resolver,
dependencies: {
services: ['auth', 'flash-messages', 'namespace', 'router', 'version'],
},
});
loadInitializers(Eng, modulePrefix);
export default Eng;