How to use ember-engines - 10 common examples

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 linkedin / eyeglass / tests / dummy / lib / lazy / index.js View on Github external
'use strict';

const path = require('path');
const EngineAddon = require('ember-engines/lib/engine-addon'); // eslint-disable-line node/no-extraneous-require

const assetsDir = path.join(__dirname, '/public/assets');

module.exports = EngineAddon.extend({
  name: 'lazy',

  eyeglass: Object.freeze({
    discover: true,
    assets: assetsDir,
  }),

  lazyLoading: Object.freeze({
    enabled: true
  }),

  isDevelopingAddon() {
    return true;
  }
});
github CenterForOpenScience / ember-osf-web / tests / helpers / engines.ts View on Github external
export function setupEngineTest(hooks: any, engine: string) {
    // eslint-disable-next-line ember/no-restricted-resolver-tests
    setupTest(hooks, { resolver: engineResolverFor(engine) });
    setupEngineFixtures(hooks);
}
github rancher / ui / lib / nodes / index.js View on Github external
/* eslint-env node */
'use strict';

const EngineAddon = require('ember-engines/lib/engine-addon');

module.exports = EngineAddon.extend({
  name: 'nodes',

  lazyLoading: { enabled: false },

  isDevelopingAddon() {
    return true;
  }
});
github rancher / ui / lib / global-admin / index.js View on Github external
/* eslint-env node */
'use strict';

const EngineAddon = require('ember-engines/lib/engine-addon');

module.exports = EngineAddon.extend({
  name: 'global-admin',

  lazyLoading: { enabled: false },

  isDevelopingAddon() {
    return true;
  }
});
github rancher / ui / lib / logging / index.js View on Github external
/* eslint-disable */
const webpack  = require('webpack');

'use strict';

const EngineAddon = require('ember-engines/lib/engine-addon');

module.exports = EngineAddon.extend({
  name: 'logging',

  lazyLoading: { enabled: true },

  isDevelopingAddon() {
    return true;
  },
  options: {
    babel:      { plugins: [require('ember-auto-import/babel-plugin')] }
  }
});
github coding-blocks / codingblocks.online.projectx / lib / cricket-cup / index.js View on Github external
/* eslint-env node */
'use strict';

const EngineAddon = require('ember-engines/lib/engine-addon');

module.exports = EngineAddon.extend({
  name: 'cricket-cup',

  lazyLoading: {
    enabled: true
  },

  isDevelopingAddon() {
    return true;
  }
});
github buschtoens / ember-lazy-mount / lib / an-engine / index.js View on Github external
/* eslint-env node */
'use strict';

// eslint-disable-next-line node/no-extraneous-require
const EngineAddon = require('ember-engines/lib/engine-addon');

module.exports = EngineAddon.extend({
  name: 'an-engine',

  lazyLoading: {
    enabled: true
  },

  isDevelopingAddon() {
    return true;
  }
});
github travis-ci / travis-web / lib / about / index.js View on Github external
/* eslint-env node */

const EngineAddon = require('ember-engines/lib/engine-addon');

module.exports = EngineAddon.extend({
  name: 'about',
  lazyLoading: false,

  isDevelopingAddon() {
    return true;
  }
});
github CenterForOpenScience / ember-osf-web / lib / handbook / index.js View on Github external
/* eslint-env node */

const EngineAddon = require('ember-engines/lib/engine-addon');

module.exports = EngineAddon.extend({
    name: 'handbook',
    'ember-font-awesome': {
        includeFontAwesomeAssets: false,
    },

    lazyLoading: {
        enabled: true,
    },

    isDevelopingAddon() {
        return true;
    },
});
github CenterForOpenScience / ember-osf-web / lib / collections / index.js View on Github external
/* eslint-env node */

const EngineAddon = require('ember-engines/lib/engine-addon');

module.exports = EngineAddon.extend({
    name: 'collections',

    isDevelopingAddon() {
        return true;
    },

    lazyLoading: {
        enabled: true,
    },

    cssModules: {
        headerModules: [
            'collections/styles/headers',
        ],
    },

ember-engines

Composable applications for ambitious user experiences

MIT
Latest version published 7 months ago

Package Health Score

64 / 100
Full package analysis