ember-inject-script
ember-inject-script copied to clipboard
An extended and more robust injectScript
New
- Allows for the promise to reject if the script doesn't load.
Changes
- Remove
scriptfrom the DOM after load or failure. - Remove event listeners.
- Updated to Ember 2.11
@rlivsey we wrote a similar lib to inject-script @intercom. You might check out the additions and see if they're a good fit for bringing into your addon 🙂
@nolaneo changes look fantastic, thanks! Addon version/description etc got lost in package.json after ember-cli upgrade, if you could bring those back then I'll get it merged and a new version released asap.
Whoops, my bad. Added those back 👌
Ping