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

module.exports = {
  name: 'ui-slider',
  description: 'A flexible UI slider for ambitious Ember apps',
  included: function(app) {
    app.import('bower_components/seiyria-bootstrap-slider/dist/bootstrap-slider.js');
    app.import('bower_components/seiyria-bootstrap-slider/dist/css/bootstrap-slider.css');
    app.import('vendor/ui-slider/ui-slider.css');
  }
};

@@ -164,25 +164,115 @@
 (app) %7B%0A    
-a
+let parentApp = (typeof app.import !== 'function' && app.app) ? app.app : app;%0A%0A    parentA
 pp.import('b
@@ -336,33 +336,39 @@
 lider.js');%0A    
-a
+parentA
 pp.import('bower
@@ -441,17 +441,23 @@
 ');%0A    
-a
+parentA
 pp.impor

Make imports work for nested addons and engines