runspired / ember-run-raf

Use requestAnimationFrame with Backburner
MIT License
26 stars 15 forks source link

fixed app.import to ensure ember-run-raf works in Ember engines #13

Closed oadeojo closed 8 years ago

oadeojo commented 8 years ago

This is a fix for the following issue: https://github.com/runspired/ember-run-raf/issues/12

rox163 commented 8 years ago

@runspired Thoughts on this? Its blocking our use of smoke and mirrors in our routable engine

Tagging @nathanhammond to increase visibility on this issue, previously discussed regarding app.import vs this.import.

nathanhammond commented 8 years ago

@runspired This isn't a complete fix since it doesn't work for nested addons without doing a walk.

This is the current upstream solution that you need to include: https://github.com/ember-cli/ember-cli/blob/master/lib/models/addon.js#L387-L398