My game runs perfectly on C2, but after exporting to intel XDK, it just don't run on the emulator. I've tryed to test it on my Android device and it won't run as well.
So i've decided to run the debug and it shows this errors:
Uncaught SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode ... c2runtime.js:18226 - |let browserInstance = null;|
Uncaught ReferenceError: cr_createRuntime is not defined ...index.html:78 - |cr_createRuntime("c2canvas"); |
I have no idea what to do with this. May someone help me, please?
Thanks in advance!
ps. using C2 release 240
UPDATE: Found a closed bug that is just the same issue i'm having...but it is supposed to be fixed...just for reference: https://www.scirra.com/forum/r213-problem-with-minifing-scripts-and-running-in-chrome_t153626
i'm not using minify script...