CocoonJS Javascript Error

Get help using Construct 2

Post » Tue May 20, 2014 4:49 am

Im using webstorage to store variables for the toggles in the options menu and when I run the game in CocoonJS launcher I get a Javascript error that says "SyntaxError: Unexpected token ILLEGAL Webstorage_common.jsm line (col undefined). This is either a bug in Construct 2 or a problem in a third party plugin or behavior - please report it to the developer." After I click ok on the error and test the game the webstorage works correctly storing and loading my variables just fine. Why am I getting a javascript error yet it is still working correctly?
Hexballs: iOS | Android Number Islands: iOS | Android
B
62
S
23
G
5
Posts: 142
Reputation: 6,952

Post » Tue May 20, 2014 10:04 am

Please report bugs to the Bugs forum following all the guidelines, including the exact steps to reproduce and a .capx file that demonstrates the problem.
Scirra Founder
B
415
S
247
G
92
Posts: 25,282
Reputation: 200,843


Return to How do I....?

Who is online

Users browsing this forum: Aedagio, Lordshiva1948, mongoose665 and 5 guests