Re: Re : Re: [FlexJS] Framework using externs (was: Setup Error)

2015-08-19 Thread Alex Harui
On 8/19/15, 4:06 PM, "Frédéric THOMAS" wrote: >> >For the rest of the class, the type var is in the super class, I didn't >> >get why it has been added to the class, any idea ? >> >> Maybe to @export it? > >Maybe I don't get it, what is the interest to export it ? We currently export way more

RE: Re : Re: [FlexJS] Framework using externs (was: Setup Error)

2015-08-19 Thread Frédéric THOMAS
I don't get it, what is the interest to export it ? In goog.events.Event it is declared like that: Frédéric THOMAS > From: aha...@adobe.com > To: dev@flex.apache.org > Subject: Re: Re : Re: [FlexJS] Framework using externs (was: Setup Error) > Date: Wed, 19 Aug 2015 21:47:17 + >

RE: Re : Re: [FlexJS] Framework using externs (was: Setup Error)

2015-08-19 Thread Frédéric THOMAS
Frédéric THOMAS > From: aha...@adobe.com > To: dev@flex.apache.org > Subject: Re: Re : Re: [FlexJS] Framework using externs (was: Setup Error) > Date: Wed, 19 Aug 2015 21:47:17 + > > > > On 8/19/15, 2:17 PM, "Frédéric THOMAS" wrote: > > > >

Re: Re : Re: [FlexJS] Framework using externs (was: Setup Error)

2015-08-19 Thread Alex Harui
On 8/19/15, 3:57 PM, "Frédéric THOMAS" wrote: >Also, I don't know what to do with Language as() is(), there are reserved >words, should we change them ? I’m ok with changing it. -Alex

RE: Re : Re: [FlexJS] Framework using externs (was: Setup Error)

2015-08-19 Thread Frédéric THOMAS
Also, I don't know what to do with Language as() is(), there are reserved words, should we change them ? Frédéric THOMAS From: webdoubl...@hotmail.com To: dev@flex.apache.org Subject: RE: Re : Re: [FlexJS] Framework using externs (was: Setup Error) Date: Wed, 19 Aug 2015 22:17:29

Re: Re : Re: [FlexJS] Framework using externs (was: Setup Error)

2015-08-19 Thread Alex Harui
On 8/19/15, 2:17 PM, "Frédéric THOMAS" wrote: > > > >Hi, > >Actually, I was trying to translate event.js and seen: > >// EventHandler and ErrorHandler are not listed as deps for >// some of the event classes because they would cause >// circularities so we force them in here. > >goog.require('g

RE: Re : Re: [FlexJS] Framework using externs (was: Setup Error)

2015-08-19 Thread Frédéric THOMAS
Frédéric THOMAS > From: webdoubl...@hotmail.com > To: dev@flex.apache.org > Subject: RE: Re : Re: [FlexJS] Framework using externs (was: Setup Error) > Date: Tue, 11 Aug 2015 18:21:17 +0100 > > > That’s convenient, but my main point was to reduce the number of > > datab

RE: Re : Re: [FlexJS] Framework using externs (was: Setup Error)

2015-08-11 Thread Frédéric THOMAS
: aha...@adobe.com > To: dev@flex.apache.org > Subject: Re: Re : Re: [FlexJS] Framework using externs (was: Setup Error) > Date: Tue, 11 Aug 2015 16:57:42 + > > > > On 8/11/15, 8:15 AM, "Frédéric THOMAS" wrote: > >>>Also, another point I just remembered

Re: Re : Re: [FlexJS] Framework using externs (was: Setup Error)

2015-08-11 Thread Alex Harui
On 8/11/15, 8:15 AM, "Frédéric THOMAS" wrote: >>Also, another point I just remembered is MXML. I don’t know that >> MouseButton would actually show up in MXML attribute values but for >>other >> things it might be better to use simple String constants and do extra >> checking inside so your MXM

RE: Re : Re: [FlexJS] Framework using externs (was: Setup Error)

2015-08-11 Thread Frédéric THOMAS
header, but we might want to add one > anyway so it looks more official. Ah yeah, correct ! Thanks, Frédéric THOMAS -------------------- > From: aha...@adobe.com > To: dev@flex.apache.org > Subject: Re: Re : Re: [FlexJS] Framework using externs (was: Setup Error)

Re: Re : Re: [FlexJS] Framework using externs (was: Setup Error)

2015-08-11 Thread Alex Harui
On 8/11/15, 6:37 AM, "Frédéric THOMAS" wrote: >> but no objection if that’s what folks want. > >My first reaction when it comes to a public, is to offer a consistent, >safe and clear API but I'm open to anything too. I think the definition of consistent and safe might have some trade-offs. The

RE: Re : Re: [FlexJS] Framework using externs (was: Setup Error)

2015-08-11 Thread Frédéric THOMAS
e Apache header, is that an issue ? see: https://gist.github.com/doublefx/20b7949d3b9ff20daaa1 Frédéric THOMAS > From: aha...@adobe.com > To: dev@flex.apache.org > Subject: Re: Re : Re: [FlexJS] Framework using externs (was: Setup Error) > Da

Re: Re : Re: [FlexJS] Framework using externs (was: Setup Error)

2015-08-11 Thread Alex Harui
On 8/11/15, 6:06 AM, "Frédéric THOMAS" wrote: >> Makes sense. I was just wondering why a MouseButton class is needed at >> all and not just a plain String constant. > >Maybe is not, but I added, maybe I shouldn't had, isButton(button) => >boolean which tests to see which button was pressed duri

RE: Re : Re: [FlexJS] Framework using externs (was: Setup Error)

2015-08-11 Thread Frédéric THOMAS
g. Frédéric THOMAS > From: aha...@adobe.com > To: dev@flex.apache.org > Subject: Re: Re : Re: [FlexJS] Framework using externs (was: Setup Error) > Date: Tue, 11 Aug 2015 12:49:35 + > > > > On 8/11/15, 5:22 AM, "Frédéric THOMAS" wrote: > &

Re: Re : Re: [FlexJS] Framework using externs (was: Setup Error)

2015-08-11 Thread Alex Harui
On 8/11/15, 5:31 AM, "Frédéric THOMAS" wrote: >Btw, I can now produce the Core.swc filled with the compiled AS3 classes >and the JS in a once and in IntelliJ, indeed, I only migrated 1 JS file >to AS but it is what I wanted first, validate I can do it, so, I will >continue on it. Awesome! -A

Re: Re : Re: [FlexJS] Framework using externs (was: Setup Error)

2015-08-11 Thread Alex Harui
On 8/11/15, 5:22 AM, "Frédéric THOMAS" wrote: >> What is the advantage of doing it this way? > >My point in migrating the framework is also to figure out how a framework >developer would feel comfortable working with, using and developing new >component seeing how the others are developed, for

RE: Re : Re: [FlexJS] Framework using externs (was: Setup Error)

2015-08-11 Thread Frédéric THOMAS
x.apache.org > Subject: Re: Re : Re: [FlexJS] Framework using externs (was: Setup Error) > Date: Tue, 11 Aug 2015 06:25:19 + > > > > On 8/10/15, 6:19 PM, "Frédéric THOMAS" wrote: > >>I'm trying now to compile the AS files in conditional compilatio

RE: Re : Re: [FlexJS] Framework using externs (was: Setup Error)

2015-08-11 Thread Frédéric THOMAS
he google doc too and I guess, expect to have as close as possible the same API. Well, at least I did this assumption and was wondering if it wasn't to much. Frédéric THOMAS > From: aha...@adobe.com > To: dev@flex.apache.org > Subject: Re: Re

Re: Re : Re: [FlexJS] Framework using externs (was: Setup Error)

2015-08-10 Thread Alex Harui
On 8/10/15, 11:05 AM, "Frédéric THOMAS" wrote: >I even removed the entire section and I've have no >compilation errors and the core tests passes, is that enough to ensure it >can be safely removed ? Well, try running ‘ant main’, then in examples/DataBindingTest run Ant again and see if you ge

Re: Re : Re: [FlexJS] Framework using externs (was: Setup Error)

2015-08-10 Thread Alex Harui
On 8/10/15, 6:19 PM, "Frédéric THOMAS" wrote: >I'm trying now to compile the AS files in conditional compilation with >COMPILE::AS3, because the first phase of the compilation is COMPILE::JS, >I have JS.swc in my library-path. > >I was aware that some conflicts could occur for example the Event

RE: Re : Re: [FlexJS] Framework using externs (was: Setup Error)

2015-08-10 Thread Frédéric THOMAS
s, configurationValue.getSource() + ".updated", configurationValue.getLine());     }     }     } Frédéric THOMAS ---------------- > From: webdoubl...@hotmail.com > To: dev@flex.apache.org > Subject: RE: Re : Re: [FlexJS] Framework using externs (was: Setup Error) &

RE: Re : Re: [FlexJS] Framework using externs (was: Setup Error)

2015-08-10 Thread Frédéric THOMAS
ty AS3 internal class otherwise the sources are not found for the COMPILE::JS only classes. Frédéric THOMAS > From: aha...@adobe.com > To: dev@flex.apache.org > Subject: Re: Re : Re: [FlexJS] Framework using externs (was: Setup Error) > Date: Mon,

Re: Re : Re: [FlexJS] Framework using externs (was: Setup Error)

2015-08-10 Thread Alex Harui
vg manifest should be >>>in html project >> >> Ok, thanks, will start migrating JS to AS in my next session. >> >> Frédéric THOMAS >> >> >> -------- >>> From: aha...@adobe.com >>> To: webdoubl...@hotmail.com; dev@flex.apache.org

RE: Re : Re: [FlexJS] Framework using externs (was: Setup Error)

2015-08-10 Thread Frédéric THOMAS
HOMAS > From: webdoubl...@hotmail.com > To: dev@flex.apache.org > Subject: RE: Re : Re: [FlexJS] Framework using externs (was: Setup Error) > Date: Sun, 9 Aug 2015 16:42:19 +0100 > >> If that's the core swc then that's a mis

RE: Re : Re: [FlexJS] Framework using externs (was: Setup Error)

2015-08-09 Thread Frédéric THOMAS
x.apache.org > Subject: Re: Re : Re: [FlexJS] Framework using externs (was: Setup Error) > Date: Sun, 9 Aug 2015 15:32:41 + > > If that's the core swc then that's a mistake. Svg manifest should be in html > project > > > Sent from my LG G3, an AT&T 4G

Re: Re : Re: [FlexJS] Framework using externs (was: Setup Error)

2015-08-09 Thread Alex Harui
If that's the core swc then that's a mistake. Svg manifest should be in html project Sent from my LG G3, an AT&T 4G LTE smartphone -- Original message-- From: Frédéric THOMAS Date: Sun, Aug 9, 2015 8:16 AM To: dev@flex.apache.org; Subject:RE: Re : Re: [FlexJS] Framework using exter

RE: Re : Re: [FlexJS] Framework using externs (was: Setup Error)

2015-08-09 Thread Frédéric THOMAS
@Alex, Except of the @export, I've got an issue with:         library://ns.apache.org/flexjs/basic         library://ns.apache.org/flexjs/svg       TextButton is not found in library://ns.apache.org/flexjs/svg, where is the manifest ? I'm a bit confuse here. If I remove it from include-