Page 1 of 1

Error when run in browser - Switch/case statement

Posted: Thu Mar 24, 2016 4:06 am
by hamej
I have an app, which runs OK i debug, but fails when run i browser. Problem is, that the error message is shown partly in the bottom of the browser window. See attached doc.

It may be an error on my part, og a system error. Have you got a hint how to find this out?

Hamej

Re: Error when run in browser

Posted: Fri Apr 15, 2016 2:12 am
by hamej
I have located the error. It occurs in a switch-case statement. See attached document. As mentioned it does not come, when run in simulator.

Re: Error when run in browser - Switch/case statement

Posted: Thu May 12, 2016 10:21 am
by JS-Support @Userware
Hi,

Sorry for the inconvenience.

This is a known JSIL issue under VS 2015 when using a switch statement with strings:
https://github.com/sq/JSIL/issues/922

You can fix it by contributing to the open-source JSIL project (JSIL.org) or wait for the JSIL community to fix it.

In the meantime, please avoid using the switch statement with strings under VS 2015. Using the switch statement with types other than strings or with a version of VS other than 2015 works fine.

Thank you.

Regards,
JS-Support