codeworld
codeworld copied to clipboard
WURFL can no longer be loaded, preventing initialization of CodeWorld
trafficstars
The textarea for code is small and the Run button has no visible effect. Probable cause is logged in the console:
Loading failed for the
The bug is here: https://github.com/google/codeworld/blob/a553dabfe0c739f48619d372aaedffddbb39553f/web/js/codeworld.js#L337
The !WURFL side of that check is intended to keep things working if WURFL doesn't load, but since that script is getting loaded in strict mode, accessing an undeclared variable that way is an error rather than just giving undefined.
#1644