UNPKG

ember-cli-vis-js

Version:
21 lines (14 loc) 429 B
/* jshint node: true */ 'use strict'; module.exports = { name: 'ember-cli-vis-js', included(parent) { this._super.included.apply(this, arguments); // Find the top-level app if this is nested within other addons while (parent.app) { parent = parent.app; } parent.import(parent.bowerDirectory + '/vis/dist/vis.min.css'); parent.import(parent.bowerDirectory + '/vis/dist/vis.min.js'); } };