How to use the ember-engines/engine.extend function in ember-engines

To help you get started, we’ve selected a few ember-engines examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github ember-engines / ember-engines / tests / dummy / lib / ember-chat / addon / engine.js View on Github external
import Engine from 'ember-engines/engine';
import Resolver from 'ember-resolver';
import loadInitializers from 'ember-load-initializers';
import config from './config/environment';

const { modulePrefix } = config;

const Eng = Engine.extend({
  modulePrefix,
  Resolver,
  init() {
    this._super(...arguments);
    this.dependencies = {
      services: ['store'],
    };
  },
});

loadInitializers(Eng, modulePrefix);

export default Eng;
github ember-engines / ember-engines / tests / dummy / lib / ember-blog / addon / engine.js View on Github external
import Engine from 'ember-engines/engine';
import Resolver from 'ember-resolver';
import loadInitializers from 'ember-load-initializers';
import config from './config/environment';

const { modulePrefix } = config;

const Eng = Engine.extend({
  modulePrefix,
  Resolver,
  init() {
    this._super(...arguments);
    this.dependencies = {
      services: ['data-store'],
      externalRoutes: ['home'],
    };
  }
});

loadInitializers(Eng, modulePrefix);

export default Eng;
github rancher / ui / lib / logging / addon / engine.js View on Github external
import Engine from 'ember-engines/engine';
import loadInitializers from 'ember-load-initializers';
import Resolver from './resolver';
import config from './config/environment';

const { modulePrefix } = config;

const Eng = Engine.extend({
  modulePrefix,
  Resolver,
  dependencies: {
    services: [
      'app',
      'clusterStore',
      'globalStore',
      'modal',
      'router',
      'intl',
      'resource-actions',
      'scope',
      'session',
      'store',
      'tooltip',
    ],
github rancher / ui / lib / global-admin / addon / engine.js View on Github external
import Engine from 'ember-engines/engine';
import loadInitializers from 'ember-load-initializers';
import Resolver from './resolver';
import config from './config/environment';

const { modulePrefix } = config;

const Eng = Engine.extend({
  modulePrefix,
  Resolver,
  dependencies: {
    services: [
      'access',
      'app',
      'azureAd',
      'catalog',
      'clusterStore',
      'digitalOcean',
      'endpoint',
      'globalStore',
      'intl',
      'modal',
      'oauth',
      'resource-actions',
github ef4 / ember-handoff / addon / engine.js View on Github external
import Engine from 'ember-engines/engine';
import Resolver from 'ember-engines/resolver';
import loadInitializers from 'ember-load-initializers';

const modulePrefix = 'ember-handoff';
const Eng = Engine.extend({
  modulePrefix,
  Resolver,
  dependencies: {
    services: [
      'handoff'
    ]
  }
});
loadInitializers(Eng, modulePrefix);
export default Eng;
github trentmwillis / engine-training / messaging / addon / engine.js View on Github external
import Engine from 'ember-engines/engine';
import Resolver from 'ember-engines/resolver';

export default Engine.extend({
  modulePrefix: 'messaging',
  Resolver,

  dependencies: {
    externalRoutes: [
      'index'
    ],
    services: [
      'time'
    ]
  }
});
github rancher / ui / lib / nodes / addon / engine.js View on Github external
import Engine from 'ember-engines/engine';
import loadInitializers from 'ember-load-initializers';
import Resolver from './resolver';
import config from './config/environment';

const { modulePrefix } = config;

const Eng = Engine.extend({
  modulePrefix,
  Resolver,
  dependencies: {
    services: [
      'access',
      'app',
      'azureAd',
      'catalog',
      'clusterStore',
      'digitalOcean',
      'endpoint',
      'globalStore',
      'intl',
      'modal',
      'resource-actions',
      'router',
github CenterForOpenScience / ember-osf-web / lib / handbook / addon / engine.js View on Github external
import Engine from 'ember-engines/engine';
import loadInitializers from 'ember-load-initializers';
import config from './config/environment';
import Resolver from './resolver';

const { modulePrefix } = config;

const Eng = Engine.extend({
    modulePrefix,
    Resolver,
    dependencies: {
        services: [
            'analytics',
            'current-user',
            'features',
            'i18n',
            'ready',
            'router',
            'store',
            'toast',
            'osf-modal-state',
        ],
    },
github rancher / ui / lib / pipeline / addon / engine.js View on Github external
import Engine from 'ember-engines/engine';
import loadInitializers from 'ember-load-initializers';
import Resolver from './resolver';
import config from './config/environment';

const { modulePrefix } = config;

const Eng = Engine.extend({
  modulePrefix,
  Resolver,
  dependencies: {
    services: [
      'app',
      'clusterStore',
      'globalStore',
      'intl',
      'modal',
      'router',
      'resource-actions',
      'scope',
      'session',
      'store',
      'tooltip',
    ],
github rancher / ui / lib / alert / addon / engine.js View on Github external
import Engine from 'ember-engines/engine';
import loadInitializers from 'ember-load-initializers';
import Resolver from './resolver';
import config from './config/environment';

const { modulePrefix } = config;

const Eng = Engine.extend({
  modulePrefix,
  Resolver,
  dependencies: {
    services: [
      'app',
      'clusterStore',
      'globalStore',
      'resource-actions',
      'intl',
      'modal',
      'router',
      'scope',
      'session',
      'store',
      'tooltip',
    ],

ember-engines

Composable applications for ambitious user experiences

MIT
Latest version published 5 months ago

Package Health Score

73 / 100
Full package analysis