StablexUI icon indicating copy to clipboard operation
StablexUI copied to clipboard

Html5 and dead code elminiation?

Open cambiata opened this issue 12 years ago • 3 comments

Hi Alexander!

Just starting to investigate StablexUI now. Really exciting with the xml declarative approach!

One first issue: It seems that the dead code elimination tag can't be used when compiling to html5? At least, the first step in the 02 Basics tutorial outputs no Text when dce is used.

/ Jonas

cambiata avatar Feb 24 '13 09:02 cambiata

I've not tried DCE. Thanks for notice. I will check and try to fix

RealyUniqueName avatar Feb 24 '13 13:02 RealyUniqueName

Just to keep you in the know: Since haxe 3 has some changes to dead code elimination, i've decided to wait for haxe 3 release to fix this issue.

RealyUniqueName avatar Feb 28 '13 09:02 RealyUniqueName

I've tried simple nme 4.0 project (just draw rectangle on stage with graphics.drawRect() ) with haxe3, and it does not work with -dce full. Do you have any success using full dce with nme 4.0?

RealyUniqueName avatar Apr 22 '13 10:04 RealyUniqueName