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

module.exports = {
  name: 'ember-l10n',

  included: function(app) {
    // @see: https://github.com/ember-cli/ember-cli/issues/3718
    this._super.included.apply(this, arguments);
    if (typeof app.import!=='function' && app.app) {
      app = app.app;
    }

    app.import('bower_components/gettext.js/dist/gettext.min.js',{
      exports: {
        'get-text': [
          'default'
        ]
      }
    });
  }
};

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

module.exports = {
  name: 'ember-l10n',

  isDevelopingAddon: function() {
    // @see: https://ember-cli.com/extending/#link-to-addon-while-developing
    return true;
  },

  included: function(app) {
    // @see: https://github.com/ember-cli/ember-cli/issues/3718
    this._super.included.apply(this, arguments);
    if (typeof app.import!=='function' && app.app) {
      app = app.app;
    }

    app.import('bower_components/gettext.js/dist/gettext.min.js',{
      exports: {
        'get-text': [
          'default'
        ]
      }
    });
  }
};

Add development mode for live-reload on develop
Add development mode for live-reload on develop
