a) Workaround for https://github.com/HaxeFoundation/hxcpp/issues/489 which crashes HaxeUI apps if a dash - is used within CSS attribute fields:
HaxeUIApp.hx:151: Exception uncaughtError: Null Object Reference
at DocumentClass.new (ApplicationMain.hx:214)
at Type.createInstance (Type.hx:83)
at ApplicationMain.main (ApplicationMain.hx:116)
b) prevent unnecessary creation of new String object on each script execution.
a) Workaround for https://github.com/HaxeFoundation/hxcpp/issues/489 which crashes HaxeUI apps if a dash - is used within CSS attribute fields: HaxeUIApp.hx:151: Exception uncaughtError: Null Object Reference at DocumentClass.new (ApplicationMain.hx:214) at Type.createInstance (Type.hx:83) at ApplicationMain.main (ApplicationMain.hx:116)
b) prevent unnecessary creation of new String object on each script execution.