index.js
function(app, parentAddon) {
    this._super.included(app);

    var target = (parentAddon || app);

    target.import(target.bowerDirectory + '/emojify/dist/js/emojify.js');

    if (_emojiConfig.mode === 'sprites') {
      var destSpriteDir = 'images/sprites';
      var spritePath    = '/emojify/dist/images/sprites/';

      target.import(target.bowerDirectory + spritePath + 'emojify.png', {
        destDir: destSpriteDir
      });
      target.import(target.bowerDirectory + spritePath + 'emojify@2x.png', {
        destDir: destSpriteDir
      });
    }

  }
function(app, parentAddon) {
    this._super.included(app);

    var target = (parentAddon || app);

    target.import(target.bowerDirectory + '/emojify/dist/js/emojify.js');

    if (_emojiConfig.mode === 'sprites') {
      var destSpriteDir = 'images/sprites';
      var spritePath    = '/emojify/dist/images/sprites/';

      target.import(target.bowerDirectory + spritePath + 'emojify.png', {
        destDir: destSpriteDir
      });
      target.import(target.bowerDirectory + spritePath + 'emojify@2x.png', {
        destDir: destSpriteDir
      });
    }

  }
Import javascript depending on the *mode*. We currently support
`sprite` and `data-uri` modes (NO basic image mode).