When I am on slow mobile broadband I sometimes get:
Uncaught Error: Load timeout for modules: goog!maps,3,other_params:sensor=false_unnormalized2,goog!maps,3,other_params:sensor=false,async!http://www.google.com/jsapi
I would like to raise the timeout for similar users as me sometimes using mbb.
See waitSeconds
config value from RequireJS docs:
http://requirejs.org/docs/api.html#config-waitSeconds
Per the docs, the default is 7 seconds. You can set it in your require.config call like this:
require.config( {
waitSeconds : 30,
paths : {
//etc..
},
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