Some errors in the generated game.js file in the quest to html5 compiler beta.
The resulting view is just a text box - no intro, no pics. Whatever is typed into the textbox is printed out. No commands - North, N, etc work.
Eclipse Logcat:
09-02 11:00:20.767: D/CordovaLog(4703): file:///android_asset/www/game.js: Line 0 : Uncaught RangeError: Maximum call stack size exceeded
09-02 11:00:20.772: E/Web Console(4703): Uncaught RangeError: Maximum call stack size exceeded at file:///android_asset/www/game.js:0
09-02 11:00:20.772: D/Cordova(4703): onPageFinished(file:///android_asset/www/index.html)
09-02 11:00:20.772: D/CordovaActivity(4703): onMessage(onPageFinished,file:///android_asset/www/index.html)
09-02 11:00:22.777: D/CordovaActivity(4703): onMessage(spinner,stop)
09-02 11:00:31.012: D/SoftKeyboardDetect(4703): Ignore this event
09-02 11:00:31.352: D/SoftKeyboardDetect(4703): Ignore this event
09-02 11:00:38.917: D/SoftKeyboardDetect(4703): Ignore this event
09-02 11:00:38.932: D/CordovaLog(4703): file:///android_asset/www/game.js: Line 1 : Uncaught TypeError: Cannot read property 'commandmetadata' of undefined
09-02 11:00:38.932: E/Web Console(4703): Uncaught TypeError: Cannot read property 'commandmetadata' of undefined at file:///android_asset/www/game.js:1
The first error is on load, the second error is when text has been entered into the text box.
I've made no changes to the game.js
JSLint:
line 1 character 37
Weird condition.
line 1 character 39
Expected ';' and instead saw ','.
changing those sends jslint into error meltdown.
game.js:
https://dl.dropboxusercontent.com/u/56760890/game.js---------------------------------
WinXP sp3
---------------------
Eclipse Juno SDK
Version: 4.2.2
Build id: M20130204-1200
---------------------
Latest Cordova.jar and js (jar is 2.9.0)