Skip to content

Commit

Permalink
Merge 5bd5b4e into a728be2
Browse files Browse the repository at this point in the history
  • Loading branch information
notmessenger committed Apr 13, 2018
2 parents a728be2 + 5bd5b4e commit 474c758
Show file tree
Hide file tree
Showing 4 changed files with 793 additions and 810 deletions.
File renamed without changes
11 changes: 6 additions & 5 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,18 @@
const path = require('path')
const MergeTrees = require('broccoli-merge-trees')
const Funnel = require('broccoli-funnel')
const {setSvgConfiguration} = require('ember-frost-core/utils/frost-icon-svg')

module.exports = {
name: 'ember-frost-list',

included: function (app) {
// Addons - see: https://github.com/ember-cli/ember-cli/issues/3718
if (typeof app.import !== 'function' && app.app) {
this.app = app = app.app
}
this.app = app = this._findHost.call(this) // eslint-disable-line no-useless-call

// Set ember-cli-svgstore options so that consuming applications don't have to
setSvgConfiguration.call(this, 'frost-list')

this._super.included.apply(this, app)
this._super.included.apply(this, arguments)

if (app) {
app.import(path.join('vendor', 'ua-parser.min.js'))
Expand Down
Loading

0 comments on commit 474c758

Please sign in to comment.