Open Duskfall opened 9 years ago
I believe that script.js doesn't handle error callbacks because they're not supported in older browsers (LTE IE8). Here's the relevant code: https://github.com/ded/script.js/blob/master/src/script.js#L65-L77
In case it helps, I wrote a script.js-compatible library that handles error callbacks but it only works in modern browsers (IE9+): https://github.com/muicss/loadjs
I only need from IE10+ so it will be optimal! Thanks i'll try it :)
I have the same error, @Duskfall loadjs works for your case ?
@Duskfall have you tried $script.order
already? See: https://github.com/ded/script.js/blob/master/src/script.js#L86
PS as far as I know it's not documented anywhere...
I have moved away from scriptjs long ago, now using SystemJS module loading system to get ready for ES2016 with Typescript.
Ah, i didn't noticed the date of this issue :') that figures
I have an array of scripts that load together (order is insignificant) and script js fails to load them. For example test4 and test 7 don't load, making the app not to bootstrap at all. This happens at random times in chrome and every time i open an incognito window and try the url