I noticed this interesting case that is possibly unintended.
If you have JS and CSS for a particular domain, and when loading the JS, it errors, the CSS will never be loaded.
This happens because when the eval fails, the entire load-scripts function bails. We could fix this with a try/catch like this:
I noticed this interesting case that is possibly unintended. If you have JS and CSS for a particular domain, and when loading the JS, it errors, the CSS will never be loaded.
This happens because when the
eval
fails, the entireload-scripts
function bails. We could fix this with a try/catch like this:For the JS, and coffee phases. I'm happy to submit a PR for this if it's something you think we should handle. Thanks!