load-script
load-script copied to clipboard
Return a cleanup callback
let abort = loadScript('woot.js', fn);
abort();
should detach the element from the DOM, and prevent the callback from being fired (by ignoring it as a last resort).
Is this a new feature request or a change in behavior? Guessing we don't return anything today.
Done?