common/corpus-common-addon/index.js
author ymh <ymh.work@gmail.com>
Tue, 15 Nov 2016 17:42:57 +0100
changeset 424 feb0d3e0fef9
parent 130 fac22d8c2df8
permissions -rw-r--r--
add dynamic date range calculation for dates, and add color gradient component, add color gradient for language and chrono

/* 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')
    };
  }
};