I created a new project in Dart Editor with the template that prints "Your Dart app is running." to the page and compiled it to js. I put it to my localhost wamp server and it works fine.
However, when I deploy and upload this dart web app to my web server, it doesn't even enter the main()
method and errors out with the following
Uncaught ReferenceError: Invalid left-hand side in assignment
Compiled with debug mode enabled, the source maps allow me to see which line causes this, but it appears to be pointing at line 8 which is the closing bracket for the main method.
What the hell is happening here? Why would this compiled dart run fine on my own local web server but completely breaks when hosted on my website? This has been puzzling me for the past few hours and has stopped me from deploying my real application.
Here is a link for a live example of the issue http://pokesharp.com/error/