DoclerLabs / hexMachina

Releases, issues, documentation, website of hexMachina, framework written in Haxe
http://hexmachina.org
MIT License
44 stars 8 forks source link

StaticXmlCompiler - ContextName should be sanitized before to use it #226

Closed aliokan closed 7 years ago

aliokan commented 7 years ago
<root name="my-client">

in JS :

var hex_context_Imy-client_$0 = function() { };

Error at runtime:

Uncaught SyntaxError: Unexpected token -
aliokan commented 7 years ago

Check and warning if it is not good at compilation https://github.com/DoclerLabs/hexMachina/releases/tag/0.24.0