ember-inject-script
ember-inject-script copied to clipboard
Easily inject 3rd party scripts in ember-cli apps
New * Allows for the promise to reject if the script doesn't load. Changes * Remove `script` from the DOM after load or failure. * Remove event listeners. * Updated...
A pattern we commonly use is to use a utility function to inject a script (for example, the filestack SDK) and keep a reference to the promise, returning it for...
The link in the right-hand column at https://www.npmjs.com/package/ember-inject-script redirects to [https://github.com/minutebase/ember-load-script](https://github.com/minutebase/ember-load-script), which is not [https://github.com/minutebase/ember-inject-script](https://github.com/minutebase/ember-inject-script).