Open esbranson opened 11 years ago
IDK openbike.co seems to be working fine now. PEBKAC maybe?
Anyways, this `config_defaults' reference does seem mysterious; it is never defined, and thus seems to render both functions non-ops.
In Webapp.js:26 we see the `initialize' function of otp.core.Webapp (which seems to be what is ultimately called by index.html:60 since this is what is called in Webapp.js:106 via otp.Class in otp.js:67) which calls
otp.configure(this, config);
which is different than what we are doing in config.js:45
otp.configure(otp.config, otp.config_defaults); // step 3b: make sure any / all local changes above get applied
In config.js:43
This throws an exception in otp.js:148
because the second argument to the function (otp.config_defaults) is undefined.
This only seems to come up in Google Chrome 31.0.1622.0 dev (running on LUbuntu saucy) console logs. Firefox 23 also shows an error in the console logs. openbike.co is not working.