common/corpus-common-addon/index.js
author ymh <ymh.work@gmail.com>
Thu, 25 Feb 2016 10:20:01 +0100
changeset 130 fac22d8c2df8
parent 127 5cd8c3065c38
permissions -rw-r--r--
add subjects to model + simple display on bo + add command to downloads documents to fixtures for test

/* 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']
      }
    });
  },
  includedCommands: function() {
    return {
      'dl-fixtures': require('./lib/commands/dl-fixtures')
    };
  }
};