Re: [FlexJS] SVGElement warning

2015-09-03 Thread Erik de Bruin
I looked into this a while ago. It seemed related to the 'externs' that are fed into the GCC. The SVG externs are bunched in with the 'regular' JS.SWC externs, but there are some issues with the SVG externs such that they cause trouble :-( I (obviously) wasn't able to fix it. Also, the SVG stuff

Re: [FlexJS] SVGElement warning

2015-09-02 Thread Peter Ent
I was able to fix the charts example because the warning came from manually written JS. I just changed {SVGElement} to {Object}. Maybe not 100% the best solution, but it quelled the warning. This code is cross-compiled from ActionScript so I cannot easily make the same fix. ‹peter On 9/2/15, 3:0

Re: [FlexJS] SVGElement warning

2015-09-02 Thread OmPrakash Muppirala
Sorry I don't know the answer, but wanted to point out that I have seen similar warnings in the regular FlexJS JS build outputs as well. i.e. in the Charts example. Thanks, Om On Wed, Sep 2, 2015 at 10:29 AM, Peter Ent wrote: > Hi, > > When I build the flexjs/examples/native/USStatesMap projec

[FlexJS] SVGElement warning

2015-09-02 Thread Peter Ent
Hi, When I build the flexjs/examples/native/USStatesMap project, I get a set of warning from the cross-compile step such as: [java] WARNING: flex-asjs/examples/native/USStatesMap/bin/js-debug/USStatesMap.js:33: WARNING - Bad type annotation. Unknown type SVGElement [java] * @type