On Sat, Aug 8, 2015 at 1:39 PM, Frédéric THOMAS <webdoubl...@hotmail.com> wrote:
> Also, What to do to keep as doc, I've been trying -keep-asdoc but > > Fred, I looked at the code quickly, this should work right now and -keep-asdoc is ONLY for the @param description etc. The fact you are not even getting an @export tag means something else is wrong somewhere. The export tag has to be there whether -keep-asdoc is tru or false, make sense? Mike > for: > > /** > * addBead() > * > * @export > * @param {org.apache.flex.core.IBead} bead The bead to add. > */ > org.apache.flex.core.IStrand.prototype.addBead = function(bead) {}; > > > /** > * getBeadByType() > * > * @export > * @param {Object} classOrInterface The type of bead to look for. > * @return {org.apache.flex.core.IBead} The bead. > */ > org.apache.flex.core.IStrand.prototype.getBeadByType = > function(classOrInterface) {}; > > I get: > > org.apache.flex.core.IStrand.prototype.addBead = function(bead) { > }; > org.apache.flex.core.IStrand.prototype.getBeadByType = > function(classOrInterface) { > > > Frédéric THOMAS > > > ---------------------------------------- > > From: webdoubl...@hotmail.com > > To: dev@flex.apache.org > > Subject: RE: [FlexJS] Framework using externs (was: Setup Error) > > Date: Sat, 8 Aug 2015 18:33:42 +0100 > > > >> We shouldn’t. Make sure you are using the latest from flex-falcon repo. > > > > My bad, thanks. > > > >> I don’t remember why we have sprite.js. Maybe Erik does. I’d rather > >> remove it if we can. > > > > Yep, @Erik, any hint ? > > > > Still remain the start function def, should it be moved to an interface > or removed too ? > > > > Frédéric THOMAS > > > > > > ---------------------------------------- > >> From: aha...@adobe.com > >> To: dev@flex.apache.org > >> Subject: Re: [FlexJS] Framework using externs (was: Setup Error) > >> Date: Sat, 8 Aug 2015 16:27:53 +0000 > >> > >> > >> > >> On 8/8/15, 8:46 AM, "Frédéric THOMAS" <webdoubl...@hotmail.com> wrote: > >> > >>>I thought I could have used the framework as a test for what I'm about > to > >>>implement in the compiler to make IJ compiling externs/as3 based > projects > >>>with 1 build conf. > >>>Apparently I was wrong but I will try to implement it first anyway. > >>> > >>>For the framework migration, I just had a look and indeed I will have a > >>>lot of questions, the 2 first ones: > >>> > >>>1- If I'm not wrong, sprite.js can't have an AS counterpart, this one > >>>needs to stay JS only but it includes a "start" method definition, not > >>>having this methos in the AS part, I won't be able to use it, should > this > >>>definition be moved to an interface in asjs and be shared by both sides > ? > >> > >> I don’t remember why we have sprite.js. Maybe Erik does. I’d rather > >> remove it if we can. > >> > >>> > >>>2- Classes and Interfaces are written this way in JS: > >>> > >>>org.apache.flex.core.IStrand.prototype.FLEXJS_CLASS_INFO ={ names: [{ > >>>name: 'IStrand', qName: 'org.apache.flex.core.IStrand' }] }; > >>> > >>>But if I cross compile IStrand.as, I get: > >>> > >>>org_apache_flex_core_IStrand.prototype.FLEXJS_CLASS_INFO = { names: [{ > >>>name: 'IStrand', qName: 'org_apache_flex_core_IStrand'}] }; > >>> > >>>Why we still have the underscores ? > >> > >> We shouldn’t. Make sure you are using the latest from flex-falcon repo. > >> > >> -Alex > >> > > > >