open-nomad/ui/app/app.js

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

18 lines
469 B
JavaScript
Raw Permalink Normal View History

/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/
import Application from '@ember/application';
import Resolver from 'ember-resolver';
2017-09-19 14:47:10 +00:00
import loadInitializers from 'ember-load-initializers';
import config from 'nomad-ui/config/environment';
2017-09-19 14:47:10 +00:00
export default class App extends Application {
modulePrefix = config.modulePrefix;
podModulePrefix = config.podModulePrefix;
Resolver = Resolver;
}
2017-09-19 14:47:10 +00:00
loadInitializers(App, config.modulePrefix);