News for hackers. Stuff that matters.
Re:LoadJS – A tiny async loader for modern browsers (710 bytes) by pygy_ on Wednesday December 14, 2016 @10:11AM (#13176464)
Good job on detecting CSS loading failures.

The little-loader also has a section to detect JS loading and errors in IE8/9 (with a dedicated sub-section for the former), I didn't see anything like this in LoadJS... Did you find a terser workaround?

https://github.com/walmartlabs/little-loader/blob/42d233f360...

I'm somewhat familiar with little-loader because I've worked at making it smaller, but I'm not competent to judge whether its approach is necessarily the best...

Re:LoadJS – A tiny async loader for modern browsers (710 bytes) by andres on Wednesday December 14, 2016 @11:13AM (#13177069)
We use the `onerror` handler to detect load errors on IE9: https://github.com/muicss/loadjs/blob/master/src/loadjs.js#L...