common/corpus-common-addon/index.js
author ymh <ymh.work@gmail.com>
Tue, 23 Feb 2016 17:47:57 +0100
changeset 127 5cd8c3065c38
child 130 fac22d8c2df8
permissions -rw-r--r--
extract common functionalities to common module. First application to lexvo name resolving

/* jshint node: true */
'use strict';

module.exports = {
  name: 'corpus-common-addon',

  included: function(app) {
    this._super.included(app);

    app.import({
        development: app.bowerDirectory + '/store/store.js',
        production:  app.bowerDirectory + '/store/store.min.js'
    });
    app.import('vendor/shims/store.js', {
      exports: {
        'store': ['default']
      }
    });
  }
};