Javascript Cordova Android 2.3语法错误:解析错误未知原因

Javascript Cordova Android 2.3语法错误:解析错误未知原因,javascript,android,cordova,Javascript,Android,Cordova,我正试图让我的cordova/phonegap应用程序在android 2.3上运行,我一直收到这个错误 file:///android_asset/www/scripts/gameStates/HomeState.js: Line 15 : SyntaxError: Parse error 哪个指向这行代码 templates.continue = !!this.game ? '<button id="continueGameButton">Continue Game<

我正试图让我的cordova/phonegap应用程序在android 2.3上运行,我一直收到这个错误

file:///android_asset/www/scripts/gameStates/HomeState.js: Line 15 : SyntaxError: Parse error
哪个指向这行代码

templates.continue = !!this.game ? '<button id="continueGameButton">Continue    Game</button>' : '';
删除这行代码似乎可以解决问题,但我不知道这行代码会导致解析错误。任何建议都很好:

如果整个项目有助于识别问题,那么它也是在线的

src:


src file:

结果显示“continue”是一个保留字,因此很可能是在它导致语法错误后插入了分号