I have a very huge script and sometimes require.js can't load it and throws a load timeout error.. Can requireJS make a retry? Or can it be performed in another way?
Try adding:
waitSeconds : 0
To your require.config object. This will set the time out on require to infinity.
You could adjust this figure based on your actual time out.
http://requirejs.org/docs/api.html#config-waitSeconds
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With