On Wed, Jun 17, 2015 at 6:16 PM, Alex Harui <[email protected]> wrote:

>
>
> On 6/17/15, 2:47 PM, "Michael Schmalle" <[email protected]> wrote:
>
> >Ah this is a nasty file to deal with, it's generated from IDL and has
> >10,000 lines with massive interfaces that have to have their prototypes
> >transformed to get/set.
>
> I’m not sure I understand the part about prototype transformation.  I only
> saw one get/set pair that could be a property.  Lots of .setXXX calls take
> multiple parameters.  Does it make it easier if you don’t have to do the
> transformation?
>
>
Alex, if you have a SVGFoo.prototype.fooBar and SVGFooable defines fooBar,
the actual class needs to be get/set not var because the class declares
implements SVGFooable.

Catch my dirft? I do this already with all existing interfaces. It's just
SVG is a mess and has a huge amount of interfaces.

Mike



> If you can get this file to convert to AS even procedurally, I’ll find a
> way to get it into the build and JS.swc.
>
> >
> >Who thinks I can do this? Haha
>
> If there is anyone who can do it, it would be you ;-)
>
> -Alex
>
>

Reply via email to