Re: [FalconJX FlexJS] JQuery up and running, a nightmare but we now have 1.9 in AS

2015-06-18 Thread OmPrakash Muppirala
Fantastic! This is huge. I will build something with it as soon as you check it in. Any chance you can bring in d3.js as well? This looks like a good source: https://github.com/federico-b/d3-externs On that note, there is an extern file generator available here: http://www.dotnetwise.com/Code/

Re: [FalconJX FlexJS] JQuery up and running, a nightmare but we now have 1.9 in AS

2015-06-18 Thread Michael Schmalle
On Thu, Jun 18, 2015 at 3:42 PM, OmPrakash Muppirala wrote: > Fantastic! This is huge. I will build something with it as soon as you > check it in. > > Waiting on Alex to take care of some stuff, but anybody that wants to try it, jquery and svg are in this SWC. http://www.teotigraphix.com/asse

Re: [FalconJX FlexJS] JQuery up and running, a nightmare but we now have 1.9 in AS

2015-06-18 Thread Alex Harui
Yes, you continue to amaze. FWIW, I think Jquery should be in its own swc. What do others think? Svg would go in js.swc since all browser we care about have these APIs, but the JS-framework-specific externs should probably have their own swc. Thoughts? -Alex On 6/18/15, 12:42 PM, "OmPrakash M

Re: [FalconJX FlexJS] JQuery up and running, a nightmare but we now have 1.9 in AS

2015-06-18 Thread Michael Schmalle
I agree, but I am just throwing crap at the wall right now. :) Mike On Thu, Jun 18, 2015 at 3:50 PM, Alex Harui wrote: > Yes, you continue to amaze. FWIW, I think Jquery should be in its own > swc. What do others think? Svg would go in js.swc since all browser we > care about have these APIs

Re: [FalconJX FlexJS] JQuery up and running, a nightmare but we now have 1.9 in AS

2015-06-18 Thread Michael Schmalle
Om, I am looking at d3, looks pretty impressive, what modules would you be using. They have good API and I could create a base externs file pretty quick. Mike On Thu, Jun 18, 2015 at 3:52 PM, Michael Schmalle wrote: > I agree, but I am just throwing crap at the wall right now. :) > > Mike > > O

Re: [FalconJX FlexJS] JQuery up and running, a nightmare but we now have 1.9 in AS

2015-06-18 Thread OmPrakash Muppirala
I don't remember using different modules in D3.js, they are all part of the same module I guess? Unless you mean Behaviors, Core, etc. from here: https://github.com/mbostock/d3/wiki/API-Reference Thanks, Om On Thu, Jun 18, 2015 at 1:03 PM, Michael Schmalle wrote: > Om, I am looking at d3, look

Re: [FalconJX FlexJS] JQuery up and running, a nightmare but we now have 1.9 in AS

2015-06-18 Thread Michael Schmalle
So Alex, you have any idea how to handle the external jQuery? You want me just to write another unit test that builds it for now like I am doing with JS.swc? Also, the build I will commit my stuff when you are done with your build commits. Mike On Thu, Jun 18, 2015 at 4:27 PM, OmPrakash Muppiral

Re: [FalconJX FlexJS] JQuery up and running, a nightmare but we now have 1.9 in AS

2015-06-18 Thread Alex Harui
I was just looking at EXTERNC.java to try to figure out if that is supposed to be used to create these SWCs. I would rather build the SWCs in the main build instead of via unit tests so other folks can get a cleaner idea of how to create other SWCs. Is EXTERNC the correct client for this? -Alex

Re: [FalconJX FlexJS] JQuery up and running, a nightmare but we now have 1.9 in AS

2015-06-18 Thread Michael Schmalle
Well, it was a stub really and it compiles the js and generates the as. But yeah, I can't see why COMPC can't be called right after that just like in the tests. It's complicated though, dependencies of the js and compiler. SO "right now" I probably need to really test how additional libraries are

Re: [FalconJX FlexJS] JQuery up and running, a nightmare but we now have 1.9 in AS

2015-06-18 Thread Alex Harui
OK, I’m going to try to use EXTERNC from Ant to build JS.swc. -Alex On 6/18/15, 1:55 PM, "Michael Schmalle" wrote: >Well, it was a stub really and it compiles the js and generates the as. >But >yeah, I can't see why COMPC can't be called right after that just like in >the tests. > >It's complic

Re: [FalconJX FlexJS] JQuery up and running, a nightmare but we now have 1.9 in AS

2015-06-18 Thread Michael Schmalle
On Thu, Jun 18, 2015 at 4:27 PM, OmPrakash Muppirala wrote: > I don't remember using different modules in D3.js, they are all part of the > same module I guess? Unless you mean Behaviors, Core, etc. from here: > https://github.com/mbostock/d3/wiki/API-Reference > Well I looked at this, I really

Re: [FalconJX FlexJS] JQuery up and running, a nightmare but we now have 1.9 in AS

2015-06-18 Thread OmPrakash Muppirala
On Thu, Jun 18, 2015 at 3:42 PM, Michael Schmalle wrote: > On Thu, Jun 18, 2015 at 4:27 PM, OmPrakash Muppirala > > wrote: > > > I don't remember using different modules in D3.js, they are all part of > the > > same module I guess? Unless you mean Behaviors, Core, etc. from here: > > https://gi

Re: [FalconJX FlexJS] JQuery up and running, a nightmare but we now have 1.9 in AS

2015-06-18 Thread Michael Schmalle
Yeah, I am probably going to leave this stuff to to other people if they so choose. :) I could eventually parse that one to get something going though. Mike BTW the jQuery will end up in separate SWC sooner than later. On Thu, Jun 18, 2015 at 6:49 PM, OmPrakash Muppirala wrote: > On Thu, Jun 1

Re: [FalconJX FlexJS] JQuery up and running, a nightmare but we now have 1.9 in AS

2015-06-18 Thread Alex Harui
Mike, It looks like EXTERNC needs to handle command-line arguments, correct? I will try to get that working. I am planning on using the same Configurator that MXMLJSC and COMPJSC use unless you can think of a reason not to. -Alex On 6/18/15, 3:57 PM, "Michael Schmalle" wrote: >Yeah, I am pro

Re: [FalconJX FlexJS] JQuery up and running, a nightmare but we now have 1.9 in AS

2015-06-19 Thread OmPrakash Muppirala
On Thu, Jun 18, 2015 at 12:49 PM, Michael Schmalle < teotigraphix...@gmail.com> wrote: > On Thu, Jun 18, 2015 at 3:42 PM, OmPrakash Muppirala > > wrote: > > > Fantastic! This is huge. I will build something with it as soon as you > > check it in. > > > > > Waiting on Alex to take care of some s

Re: [FalconJX FlexJS] JQuery up and running, a nightmare but we now have 1.9 in AS

2015-06-19 Thread Michael Schmalle
I just clicked on it and the save as popup came up in Firefox. Mike On Fri, Jun 19, 2015 at 4:13 PM, OmPrakash Muppirala wrote: > On Thu, Jun 18, 2015 at 12:49 PM, Michael Schmalle < > teotigraphix...@gmail.com> wrote: > > > On Thu, Jun 18, 2015 at 3:42 PM, OmPrakash Muppirala < > bigosma...@gm

Re: [FalconJX FlexJS] JQuery up and running, a nightmare but we now have 1.9 in AS

2015-06-19 Thread OmPrakash Muppirala
On Fri, Jun 19, 2015 at 1:16 PM, Michael Schmalle wrote: > I just clicked on it and the save as popup came up in Firefox. > > Got it! Thanks, Om > Mike > > On Fri, Jun 19, 2015 at 4:13 PM, OmPrakash Muppirala > > wrote: > > > On Thu, Jun 18, 2015 at 12:49 PM, Michael Schmalle < > > teotigraph

Re: [FalconJX FlexJS] JQuery up and running, a nightmare but we now have 1.9 in AS

2015-06-20 Thread Alex Harui
OK, I got EXTERNC handling CLI and building a js.swc from Ant. Will integrate it into the build over the weekend, but I think I am out of Mike’s way now. Then I will try Jquery externs in its own SWC unless someone beats me to it. -Alex On 6/18/15, 4:46 PM, "Alex Harui" wrote: >Mike, > >It lo

RE: [FalconJX FlexJS] JQuery up and running, a nightmare but we now have 1.9 in AS

2015-06-20 Thread Frédéric THOMAS
ava:43)     at java.lang.reflect.Method.invoke(Method.java:601)     at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) Frédéric THOMAS > From: aha...@adobe.com > To: dev@flex.apache.org > Subject: Re: [FalconJX FlexJS] JQuery up and running,

Re: [FalconJX FlexJS] JQuery up and running, a nightmare but we now have 1.9 in AS

2015-06-20 Thread Alex Harui
elegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorIm >pl.java:43) >at java.lang.reflect.Method.invoke(Method.java:601) >at >org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106 >) > > > >Frédéric THOMAS > > >--------

RE: [FalconJX FlexJS] JQuery up and running, a nightmare but we now have 1.9 in AS

2015-06-20 Thread Frédéric THOMAS
g.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106) > > > > Frédéric THOMAS > > > ------------ >> From: aha...@adobe.com >> To: dev@flex.apache.org >> Subject: Re: [FalconJX FlexJS] JQuery up and running, a nig

RE: [FalconJX FlexJS] JQuery up and running, a nightmare but we now have 1.9 in AS

2015-06-20 Thread Frédéric THOMAS
I did ant clean-all, all Frédéric THOMAS > From: aha...@adobe.com > To: dev@flex.apache.org > Subject: Re: [FalconJX FlexJS] JQuery up and running, a nightmare but we now > have 1.9 in AS > Date: Sat, 20 Jun 2015 13:37:51 + > &

Re: [FalconJX FlexJS] JQuery up and running, a nightmare but we now have 1.9 in AS

2015-06-20 Thread Alex Harui
;>> at >>>org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:292) >>> at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) >>> at >>>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor >>>Im >>>pl.java:43)

RE: [FalconJX FlexJS] JQuery up and running, a nightmare but we now have 1.9 in AS

2015-06-20 Thread Frédéric THOMAS
OMAS >> >> >>-------- >>> From: aha...@adobe.com >>> To: dev@flex.apache.org >>> Subject: Re: [FalconJX FlexJS] JQuery up and running, a nightmare but >>>we now have 1.9 in AS >>> Date: Sat, 20 Jun 2015

Re: [FalconJX FlexJS] JQuery up and running, a nightmare but we now have 1.9 in AS

2015-06-20 Thread Alex Harui
/20/15, 6:41 AM, "Frédéric THOMAS" wrote: >> >>>I did ant clean-all, all >>> >>> >>>Frédéric THOMAS >>> >>> >>>---------------- >>>> From: aha...@adobe.com >>>> To: dev@flex.apache.org >>>> Subject:

RE: [FalconJX FlexJS] JQuery up and running, a nightmare but we now have 1.9 in AS

2015-06-20 Thread Frédéric THOMAS
.@adobe.com > To: dev@flex.apache.org > Subject: Re: [FalconJX FlexJS] JQuery up and running, a nightmare but we now > have 1.9 in AS > Date: Sat, 20 Jun 2015 14:17:51 + > > Great! Basically, there is a js-compile-config.xml that EXTERNC is told > to use to generate a b

Re: [FalconJX FlexJS] JQuery up and running, a nightmare but we now have 1.9 in AS

2015-06-20 Thread Michael Schmalle
> Frédéric THOMAS > > > ------------------------ > > From: aha...@adobe.com > > To: dev@flex.apache.org > > Subject: Re: [FalconJX FlexJS] JQuery up and running, a nightmare but we > now have 1.9 in AS > > Date: Sat, 20 Jun 2015 14:17:51 + > &

RE: [FalconJX FlexJS] JQuery up and running, a nightmare but we now have 1.9 in AS

2015-06-20 Thread Frédéric THOMAS
I > just listed, let me know if you get it building. Yes, maybe I can try and ask when a problem will occur :-) Thanks, Frédéric THOMAS ---- > Date: Sat, 20 Jun 2015 10:56:13 -0400 > Subject: Re: [FalconJX FlexJS] JQuery up and running, a nightmare b

Re: [FalconJX FlexJS] JQuery up and running, a nightmare but we now have 1.9 in AS

2015-06-20 Thread Alex Harui
and what I > just listed, let me know if you get it building. Yes, maybe I can try and ask when a problem will occur :-) Thanks, Frédéric THOMAS -------- > Date: Sat, 20 Jun 2015 10:56:13 -0400 > Subject: Re: [FalconJX FlexJS] JQuery up and running, a ni

RE: [FalconJX FlexJS] JQuery up and running, a nightmare but we now have 1.9 in AS

2015-06-20 Thread Frédéric THOMAS
there is a js-compile-config.xml that EXTERNC is told >>>> to use to generate a bunch of AS files from the .js files listed in >>>> js-compile-config.xml. Then COMPC runs and uses compile-config.xml to >>>> generate the SWC. If I were working on it, I would

Re: [FalconJX FlexJS] JQuery up and running, a nightmare but we now have 1.9 in AS

2015-06-20 Thread Michael Schmalle
externs do > > and I haven't even thought about that problem since JS.SWC is already > > created, the prototypes can't be added to. > > > > Anyway, I think you can get it going by following what Alex said and > what I > > just listed, let me know if you get it bui

Re: [FalconJX FlexJS] JQuery up and running, a nightmare but we now have 1.9 in AS

2015-06-20 Thread Alex Harui
On 6/20/15, 8:38 AM, "Michael Schmalle" wrote: >What happens if you try to compile an external that does this that is not >part of the JS.swc build? Well for one, it won't be added because the >Window class is already compiled into the JS.swc. > >So for now, it's important that we add all exter

Re: [FalconJX FlexJS] JQuery up and running, a nightmare but we now have 1.9 in AS

2015-06-20 Thread Michael Schmalle
But won't you start to have conflicts if you wanted other libraries that used mixins? Mike On Sat, Jun 20, 2015 at 12:52 PM, Alex Harui wrote: > > > On 6/20/15, 8:38 AM, "Michael Schmalle" wrote: > > >What happens if you try to compile an external that does this that is not > >part of the JS.s

RE: [FalconJX FlexJS] JQuery up and running, a nightmare but we now have 1.9 in AS

2015-06-20 Thread Frédéric THOMAS
dClassToFunction(val);     } Frédéric THOMAS > From: aha...@adobe.com > To: dev@flex.apache.org > Subject: Re: [FalconJX FlexJS] JQuery up and running, a nightmare but we now > have 1.9 in AS > Date: Sat, 20 Jun 2015 16:52:00 + > > &

Re: [FalconJX FlexJS] JQuery up and running, a nightmare but we now have 1.9 in AS

2015-06-20 Thread Michael Schmalle
Deferred > jQuery.deferred > jQuery.Event > jQuery.Deferred > $.Event > $.Deferred > $.deferred > > > > > I had to create: > > @Config(allowMultiple = true) > @Mapping("classToFunction") > @InfiniteArguments > p

RE: [FalconJX FlexJS] JQuery up and running, a nightmare but we now have 1.9 in AS

2015-06-20 Thread Frédéric THOMAS
s my jquery-config-xml: >> >> >> >> >> true >> >> >> >> >> src >> >> >> false >> >> >> >> externs/jquery-1.9.js >> >> >> out/as >> >> >> $ >> &g

Re: [FalconJX FlexJS] JQuery up and running, a nightmare but we now have 1.9 in AS

2015-06-20 Thread Michael Schmalle
gt;> > org.apache.flex.compiler.internal.units.requests.RequestMaker$1.call(RequestMaker.java:222) > >> at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) > >> at java.util.concurrent.FutureTask.run(FutureTask.java:166) > >> at > >> > j

Re: [FalconJX FlexJS] JQuery up and running, a nightmare but we now have 1.9 in AS

2015-06-20 Thread Michael Schmalle
t; Just for sake of consistency, you might want to rename; >> > >> > >> > >> > to >> > >> > >> >> Done >> >> > You are using jquery-1.9.js right? >> >> Yes >> >> > That should be exc

RE: [FalconJX FlexJS] JQuery up and running, a nightmare but we now have 1.9 in AS

2015-06-20 Thread Frédéric THOMAS
Frédéric THOMAS > Date: Sat, 20 Jun 2015 15:16:00 -0400 > Subject: Re: [FalconJX FlexJS] JQuery up and running, a nightmare but we now > have 1.9 in AS > From: teotigraphix...@gmail.com > To: dev@flex.apache.org > > I'm test

Re: [FalconJX FlexJS] JQuery up and running, a nightmare but we now have 1.9 in AS

2015-06-20 Thread Michael Schmalle
you might want to rename; >>> > >>> > >>> > >>> > to >>> > >>> > >>> >>> Done >>> >>> > You are using jquery-1.9.js right? >>> >>> Yes >>> >>> > That shou

Re: [FalconJX FlexJS] JQuery up and running, a nightmare but we now have 1.9 in AS

2015-06-20 Thread Michael Schmalle
e asRoot is null despite I set out/as > > > Frédéric THOMAS > > > -------- > > Date: Sat, 20 Jun 2015 15:16:00 -0400 > > Subject: Re: [FalconJX FlexJS] JQuery up and running, a nightmare but we > now have 1.9 in AS > > From: teotig

RE: [FalconJX FlexJS] JQuery up and running, a nightmare but we now have 1.9 in AS

2015-06-20 Thread Frédéric THOMAS
-0400 > Subject: Re: [FalconJX FlexJS] JQuery up and running, a nightmare but we now > have 1.9 in AS > From: teotigraphix...@gmail.com > To: dev@flex.apache.org > > staticMainNoExit() has to be called to create the configuration correctly. > > And yes, that NPE means there is no c

Re: [FalconJX FlexJS] JQuery up and running, a nightmare but we now have 1.9 in AS

2015-06-20 Thread Michael Schmalle
> > Date: Sat, 20 Jun 2015 15:23:25 -0400 > > Subject: Re: [FalconJX FlexJS] JQuery up and running, a nightmare but we > now have 1.9 in AS > > From: teotigraphix...@gmail.com > > To: dev@flex.apache.org > > > > staticMainNoExit() has

Re: [FalconJX FlexJS] JQuery up and running, a nightmare but we now have 1.9 in AS

2015-06-20 Thread Michael Schmalle
THOMAS >> >> >> ------------------------ >> > Date: Sat, 20 Jun 2015 15:23:25 -0400 >> > Subject: Re: [FalconJX FlexJS] JQuery up and running, a nightmare but >> we now have 1.9 in AS >> > From: teotigraphix...@gmail.com >> >

Re: [FalconJX FlexJS] JQuery up and running, a nightmare but we now have 1.9 in AS

2015-06-20 Thread Michael Schmalle
e main() >>> which call staticMainNoExit() >>> >>> >>> Frédéric THOMAS >>> >>> >>> >>> > Date: Sat, 20 Jun 2015 15:23:25 -0400 >>> > Subject: Re: [FalconJX FlexJS] JQuery up a

Re: [FalconJX FlexJS] JQuery up and running, a nightmare but we now have 1.9 in AS

2015-06-20 Thread Michael Schmalle
; > >>>> >> Should be something missing because the config seem not to be set, >>>> the >>>> >> first exception is >>>> >> >>>> >> Exception in thread "main" java.lang.NullPointerException >&

RE: [FalconJX FlexJS] JQuery up and running, a nightmare but we now have 1.9 in AS

2015-06-20 Thread Frédéric THOMAS
, I bet >>>> you that is what is going on. >>>> >>>> Mike >>>> >>>> On Sat, Jun 20, 2015 at 3:34 PM, Frédéric THOMAS < >>>> webdoubl...@hotmail.com> wrote: >>>> >>>>> >>>>>> How is EXTERNC

Re: [FalconJX FlexJS] JQuery up and running, a nightmare but we now have 1.9 in AS

2015-06-20 Thread Michael Schmalle
possibly undefined method $. > > Any idea ? > > Frédéric THOMAS > > > ------------------------ > > Date: Sat, 20 Jun 2015 15:51:15 -0400 > > Subject: Re: [FalconJX FlexJS] JQuery up and running, a nightmare but we > now have 1.9 in AS > > F

Re: [FalconJX FlexJS] JQuery up and running, a nightmare but we now have 1.9 in AS

2015-06-20 Thread Michael Schmalle
>> }); >> >> Error:(18, 8) [testJsSwc]: Call to a possibly undefined method $. >> Warning:(18, 26) [testJsSwc]: return value for function '' has no type >> declaration. >> Error:(19, 12) [testJsSwc]: Call to a possibly undefined method $. &

RE: [FalconJX FlexJS] JQuery up and running, a nightmare but we now have 1.9 in AS

2015-06-20 Thread Frédéric THOMAS
ert() referenced as a function in js.swc. Frédéric THOMAS > Date: Sat, 20 Jun 2015 16:49:49 -0400 > Subject: Re: [FalconJX FlexJS] JQuery up and running, a nightmare but we now > have 1.9 in AS > From: teotigraphix...@gmail.com > To: dev

Re: [FalconJX FlexJS] JQuery up and running, a nightmare but we now have 1.9 in AS

2015-06-20 Thread Michael Schmalle
>>> compiler will not return a config if there is an internal error, so > >> that is > >>>>> why the NPE would happen. > >>>>> > >>>>> Mike > >>>>> > >>>>> On Sat, Jun 20, 2015 at 3:42 PM, Mic

Re: [FalconJX FlexJS] JQuery up and running, a nightmare but we now have 1.9 in AS

2015-06-20 Thread Michael Schmalle
xample, alert() referenced as a function in js.swc. >> >> Frédéric THOMAS >> >> >> -------------------- >> > Date: Sat, 20 Jun 2015 16:49:49 -0400 >> > Subject: Re: [FalconJX FlexJS] JQuery up and running, a nightmare but >&g

Re: [FalconJX FlexJS] JQuery up and running, a nightmare but we now have 1.9 in AS

2015-06-20 Thread Michael Schmalle
neither as a function in jquery.swc >>> but I can see, for example, alert() referenced as a function in js.swc. >>> >>> Frédéric THOMAS >>> >>> >>> >>> > Date: Sat, 20 Jun 2015 16:49:49 -0400 >>> > Subject:

RE: [FalconJX FlexJS] JQuery up and running, a nightmare but we now have 1.9 in AS

2015-06-20 Thread Frédéric THOMAS
gt;> global function, can verify this? >>>> >>>> I've been checking in ReferenceModel and it took the right code path. >>>> I can't see $ referenced as a class neither as a function in jquery.swc >>>> but I can see, for example, ale

Re: [FalconJX FlexJS] JQuery up and running, a nightmare but we now have 1.9 in AS

2015-06-20 Thread Michael Schmalle
s file is $() at you ? > > Frédéric THOMAS > > > ---- > > Date: Sat, 20 Jun 2015 17:20:04 -0400 > > Subject: Re: [FalconJX FlexJS] JQuery up and running, a nightmare but we > now have 1.9 in AS > > From: teotigraphix...@gmail.com > > To: dev@flex.apache.org > &

Re: [FalconJX FlexJS] JQuery up and running, a nightmare but we now have 1.9 in AS

2015-06-20 Thread Michael Schmalle
>> Frédéric THOMAS >> >> >> ------------------------ >> > Date: Sat, 20 Jun 2015 17:20:04 -0400 >> > Subject: Re: [FalconJX FlexJS] JQuery up and running, a nightmare but >> we now have 1.9 in AS >> > From: teotigraphix...@gmai

RE: [FalconJX FlexJS] JQuery up and running, a nightmare but we now have 1.9 in AS

2015-06-20 Thread Frédéric THOMAS
he previous error has been fixed, I re-added it and the $() is now >>> emitted but when I compile the test app, I can't find it in the output js >>> files and the debugger tells me it can't find $() >>> >>> In what produced js file is $() at you ? >>&g

Re: [FalconJX FlexJS] JQuery up and running, a nightmare but we now have 1.9 in AS

2015-06-20 Thread Michael Schmalle
an idea of why it is not emitted at me ? > > Frédéric THOMAS > > > ------------------------ > > Date: Sat, 20 Jun 2015 17:43:28 -0400 > > Subject: Re: [FalconJX FlexJS] JQuery up and running, a nightmare but we > now have 1.9 in AS > > From: teot

Re: [FalconJX FlexJS] JQuery up and running, a nightmare but we now have 1.9 in AS

2015-06-20 Thread Michael Schmalle
n an >> application, the emitted js doesn't contain any reference of $() and the >> application doesn't work, is it working at you when you use $() in an >> application ? and in what js file is it referenced ? and even, have you got >> an idea of why it is not emitted at me ? >> >> Fr

RE: [FalconJX FlexJS] JQuery up and running, a nightmare but we now have 1.9 in AS

2015-06-20 Thread Frédéric THOMAS
:43 -0400 > Subject: Re: [FalconJX FlexJS] JQuery up and running, a nightmare but we now > have 1.9 in AS > From: teotigraphix...@gmail.com > To: dev@flex.apache.org > > And emitted JS > > ... > > /** > * @constructor > */ > Main = function()

Re: [FalconJX FlexJS] JQuery up and running, a nightmare but we now have 1.9 in AS

2015-06-20 Thread Michael Schmalle
> > Date: Sat, 20 Jun 2015 17:54:43 -0400 > > Subject: Re: [FalconJX FlexJS] JQuery up and running, a nightmare but we > now have 1.9 in AS > > From: teotigraphix...@gmail.com > > To: dev@flex.apache.org > > > > And emitted JS > > >

Re: [FalconJX FlexJS] JQuery up and running, a nightmare but we now have 1.9 in AS

2015-06-20 Thread Michael Schmalle
have to build into the compile > config or something, ideas? > > Mike > > > >> >> Frédéric THOMAS >> >> >> ------------------------ >> > Date: Sat, 20 Jun 2015 17:54:43 -0400 >> > Subject: Re: [FalconJX FlexJS] JQuery up and running, a nightmare but >> we now ha

RE: [FalconJX FlexJS] JQuery up and running, a nightmare but we now have 1.9 in AS

2015-06-20 Thread Frédéric THOMAS
Date: Sat, 20 Jun 2015 18:18:10 -0400 > Subject: Re: [FalconJX FlexJS] JQuery up and running, a nightmare but we now > have 1.9 in AS > From: teotigraphix...@gmail.com > To: dev@flex.apache.org > > Fred, what I did for the temp is just have the HTML file in a different > d

Re: [FalconJX FlexJS] JQuery up and running, a nightmare but we now have 1.9 in AS

2015-06-20 Thread Michael Schmalle
Tomorrow I will try with another one given this one is ok now. > > Cheers. > Frédéric THOMAS > > > ------------ > > Date: Sat, 20 Jun 2015 18:18:10 -0400 > > Subject: Re: [FalconJX FlexJS] JQuery up and running, a nightmare but we > now have 1.9

RE: [FalconJX FlexJS] JQuery up and running, a nightmare but we now have 1.9 in AS

2015-06-20 Thread Frédéric THOMAS
l don't know where the code is :-) >> >> I let you for tonight, thanks again and enjoy what you are doing ;-) >> >> Tomorrow I will try with another one given this one is ok now. >> >> Cheers. >> Frédéric THOMAS >> >> >> -------------

Re: [FalconJX FlexJS] JQuery up and running, a nightmare but we now have 1.9 in AS

2015-06-20 Thread Michael Schmalle
t; Frédéric THOMAS > > > > > Date: Sat, 20 Jun 2015 18:27:08 -0400 > > Subject: Re: [FalconJX FlexJS] JQuery up and running, a nightmare but we > now have 1.9 in AS > > From: teotigraphix...@gmail.com > > To: dev@flex.apache.or

RE: [FalconJX FlexJS] JQuery up and running, a nightmare but we now have 1.9 in AS

2015-06-20 Thread Frédéric THOMAS
With pleasure Mike with your help I learn something ! And no idea what's a ADHT :-) Frédéric THOMAS > Date: Sat, 20 Jun 2015 18:55:03 -0400 > Subject: Re: [FalconJX FlexJS] JQuery up and running, a nightmare but we now > have 1.

Re: [FalconJX FlexJS] JQuery up and running, a nightmare but we now have 1.9 in AS

2015-06-20 Thread Michael Schmalle
; Frédéric THOMAS > > > > > Date: Sat, 20 Jun 2015 18:55:03 -0400 > > Subject: Re: [FalconJX FlexJS] JQuery up and running, a nightmare but we > now have 1.9 in AS > > From: teotigraphix...@gmail.com > > To: dev@flex.apache.org > > > > Kewl man, thank

Re: [FalconJX FlexJS] JQuery up and running, a nightmare but we now have 1.9 in AS

2015-06-20 Thread Alex Harui
On 6/20/15, 3:12 PM, "Frédéric THOMAS" wrote: >Btw, is there a way to have a template for the index.html to not to have >manually include this script tag after each build ? Hey Fred, Thanks for figuring out jquery.swc. FlexJS uses the MXMLFlexJSPublisher.java which uses GoogDepsWriter. GoogD

Re: [FalconJX FlexJS] JQuery up and running, a nightmare but we now have 1.9 in AS

2015-06-20 Thread Alex Harui
On 6/20/15, 10:08 AM, "Michael Schmalle" wrote: >But won't you start to have conflicts if you wanted other libraries that >used mixins? Yes, if you have a stack of swcs each trying to modify a class definition in incompatible ways, then our current compiler won’t like it. Now it is currently

RE: [FalconJX FlexJS] JQuery up and running, a nightmare but we now have 1.9 in AS

2015-06-22 Thread Frédéric THOMAS
mbark such feature ? Thanks, Frédéric THOMAS > From: aha...@adobe.com > To: dev@flex.apache.org > Subject: Re: [FalconJX FlexJS] JQuery up and running, a nightmare but we now > have 1.9 in AS > Date: Sun, 21 Jun 2015 05:24:35 + > > &g

Re: [FalconJX FlexJS] JQuery up and running, a nightmare but we now have 1.9 in AS

2015-06-22 Thread Michael Schmalle
------- > > From: aha...@adobe.com > > To: dev@flex.apache.org > > Subject: Re: [FalconJX FlexJS] JQuery up and running, a nightmare but we > now have 1.9 in AS > > Date: Sun, 21 Jun 2015 05:24:35 + > > > > > > > > On 6/20/15, 3:12 PM, "

Re: [FalconJX FlexJS] JQuery up and running, a nightmare but we now have 1.9 in AS

2015-06-22 Thread Alex Harui
On 6/22/15, 2:14 PM, "Michael Schmalle" wrote: >On Mon, Jun 22, 2015 at 12:28 PM, Frédéric THOMAS > >wrote: > >> >> > FlexJS uses the MXMLFlexJSPublisher.java which uses GoogDepsWriter. >> > GoogDepsWriter scans the .js files for an tag and adds >>that >> > to the index.html. Not quite sure ho

Re: [FalconJX FlexJS] JQuery up and running, a nightmare but we now have 1.9 in AS

2015-06-22 Thread Michael Schmalle
On Mon, Jun 22, 2015 at 5:22 PM, Alex Harui wrote: > > > On 6/22/15, 2:14 PM, "Michael Schmalle" wrote: > > >On Mon, Jun 22, 2015 at 12:28 PM, Frédéric THOMAS > > > >wrote: > > > >> > >> > FlexJS uses the MXMLFlexJSPublisher.java which uses GoogDepsWriter. > >> > GoogDepsWriter scans the .js fil

RE: [FalconJX FlexJS] JQuery up and running, a nightmare but we now have 1.9 in AS

2015-06-22 Thread Frédéric THOMAS
y.min.js', type='text/javascript')] Frédéric THOMAS > From: aha...@adobe.com > To: dev@flex.apache.org > Subject: Re: [FalconJX FlexJS] JQuery up and running, a nightmare but we now > have 1.9 in AS > Date: Mon, 22 Jun 2015 21:22:

Re: [FalconJX FlexJS] JQuery up and running, a nightmare but we now have 1.9 in AS

2015-06-22 Thread piotrz
Mike, One question - Is there any possibility to have an list of all classes/api which you currently put inside JS.swc ? Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FalconJX-FlexJS-JQuery-up-and-r

Re: [FalconJX FlexJS] JQuery up and running, a nightmare but we now have 1.9 in AS

2015-06-22 Thread Michael Schmalle
On Mon, Jun 22, 2015 at 5:36 PM, piotrz wrote: > Mike, > > One question - Is there any possibility to have an list of all classes/api > which you currently put inside JS.swc ? > Actually I was going to try and hack an asdoc build target or something. I hate ANT, seriously people, I am compiler,

Re: [FalconJX FlexJS] JQuery up and running, a nightmare but we now have 1.9 in AS

2015-06-22 Thread piotrz
Thank you Mike. I just wanted to mention about JS.swc on some Polish forums. Maybe someone will be interested to try it out FlexJS and so on. :) Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/Falcon

Re: [FalconJX FlexJS] JQuery up and running, a nightmare but we now have 1.9 in AS

2015-06-22 Thread Michael Schmalle
Yeah and don't forget about the jquery.swc as well, it's not perfect right now but does add most of the core functionality of 1.9, which reading the extern file is the same as 2.0, so the API should work with query 2.0 as well. Mike On Mon, Jun 22, 2015 at 5:44 PM, piotrz wrote: > Thank you Mik

Re: [FalconJX FlexJS] JQuery up and running, a nightmare but we now have 1.9 in AS

2015-06-22 Thread Michael Schmalle
BTW, I can almost say for certain that pretty much ALL API in the browser is supported, DOM 1,2,3, webkit, gecko, extensions, webgl, SVG, css, css3d, window and a bunch of others, it's a HUGE amount of API in that swc. Mike On Mon, Jun 22, 2015 at 6:07 PM, Michael Schmalle wrote: > Yeah and don

Re: [FalconJX FlexJS] JQuery up and running, a nightmare but we now have 1.9 in AS

2015-06-22 Thread piotrz
Won't forget and I will post about that tomorrow. Going to bed right now - it is really late in Poland. :) Thank you Mike. Have a nice day. :) - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FalconJX-FlexJS-J

Re: [FalconJX FlexJS] JQuery up and running, a nightmare but we now have 1.9 in AS

2015-06-22 Thread piotrz
Putting some links to the api could make for sure good impression, but even if we don't have it for now no worry. :) - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FalconJX-FlexJS-JQuery-up-and-running-a-nig

Re: [FalconJX FlexJS] JQuery up and running, a nightmare but we now have 1.9 in AS

2015-06-22 Thread Michael Schmalle
On Mon, Jun 22, 2015 at 5:53 PM, piotrz wrote: > Putting some links to the api could make for sure good impression, but even > if we don't have it for now no worry. :) > > > Is it kosher if I put them temporarily on my server if I got them generated? Or is there some other place they can be uploa

Re: [FalconJX FlexJS] JQuery up and running, a nightmare but we now have 1.9 in AS

2015-06-22 Thread piotrz
I think every committer has his own space on Apache. Sometimes Alex is putting there something and provide links, but I have never used it. You have probably your own space, so putting there this files would the best. Maybe someone can help on this ? Piotr - Apache Flex PMC piotrzarzyck...

Re: [FalconJX FlexJS] JQuery up and running, a nightmare but we now have 1.9 in AS

2015-06-22 Thread Alex Harui
All committers have space at people.apache.org. It requires SSH and/or SCP. I can’t think of any reason you can’t post temporary stuff on your own servers. The nightly builds are hosted on my Azure box. -Alex On 6/22/15, 3:00 PM, "piotrz" wrote: >I think every committer has his own space on

Re: [FalconJX FlexJS] JQuery up and running, a nightmare but we now have 1.9 in AS

2015-06-22 Thread OmPrakash Muppirala
Also, if you have a github account, it's a breeze to set up personal pages: https://www.thinkful.com/learn/a-guide-to-using-github-pages/ Thanks, Om On Mon, Jun 22, 2015 at 5:09 PM, Alex Harui wrote: > All committers have space at people.apache.org. It requires SSH and/or > SCP. I can’t think

Re: [FalconJX FlexJS] JQuery up and running, a nightmare but we now have 1.9 in AS

2015-06-22 Thread Alex Harui
On 6/22/15, 2:50 PM, "Frédéric THOMAS" wrote: >> I’ve been pondering what the packaging options might be. Right now folks >> are getting things to run because after we cross-compile the AS to JS, >> Google Closure Library classes are mixed in in order to get scripts >> loaded, and an index.html

Re: [FalconJX FlexJS] JQuery up and running, a nightmare but we now have 1.9 in AS

2015-06-22 Thread piotrz
Thanks Alex. Mike, I have created pure AS3 application in intellij with the freshest FlexJS and what's next ? I don't see any classes like HTMLDivElement or SVGElement. Should I add manually references to js.swc and jquery.swc to see that and get compiled ? Piotr - Apache Flex PMC piotrza

Re: [FalconJX FlexJS] JQuery up and running, a nightmare but we now have 1.9 in AS

2015-06-22 Thread OmPrakash Muppirala
On Jun 22, 2015 10:14 PM, "piotrz" wrote: > > Thanks Alex. > > Mike, > > I have created pure AS3 application in intellij with the freshest FlexJS and > what's next ? I don't see any classes like HTMLDivElement or SVGElement. > Should I add manually references to js.swc and jquery.swc to see that a

Re: [FalconJX FlexJS] JQuery up and running, a nightmare but we now have 1.9 in AS

2015-06-22 Thread Alex Harui
On 6/22/15, 9:52 PM, "piotrz" wrote: >Thanks Alex. > >Mike, > >I have created pure AS3 application in intellij with the freshest FlexJS >and >what's next ? I don't see any classes like HTMLDivElement or SVGElement. >Should I add manually references to js.swc and jquery.swc to see that and >get

Re: [FalconJX FlexJS] JQuery up and running, a nightmare but we now have 1.9 in AS

2015-06-22 Thread piotrz
Thanks Om. I did similar thing but just wondered whether my path doing that is ok. :) Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FalconJX-FlexJS-JQuery-up-and-running-a-nightmare-but-we-now-have-1

RE: [FalconJX FlexJS] JQuery up and running, a nightmare but we now have 1.9 in AS

2015-06-22 Thread Frédéric THOMAS
Piotr, Just remember those swc need to be added as external dependency. Frédéric THOMAS > Date: Mon, 22 Jun 2015 22:05:26 -0700 > From: piotrzarzyck...@gmail.com > To: dev@flex.apache.org > Subject: Re: [FalconJX FlexJS] JQuery up an

RE: [FalconJX FlexJS] JQuery up and running, a nightmare but we now have 1.9 in AS

2015-06-23 Thread piotrz
Fred, Saying "external dependency" you mean adding it in Modules -> New Library... ? Piotr - Apache Flex PMC piotrzarzyck...@gmail.com -- View this message in context: http://apache-flex-development.247.n4.nabble.com/FalconJX-FlexJS-JQuery-up-and-running-a-nightmare-but-we-now-have-1-

RE: [FalconJX FlexJS] JQuery up and running, a nightmare but we now have 1.9 in AS

2015-06-23 Thread Frédéric THOMAS
Frédéric THOMAS > Date: Mon, 22 Jun 2015 23:55:47 -0700 > From: piotrzarzyck...@gmail.com > To: dev@flex.apache.org > Subject: RE: [FalconJX FlexJS] JQuery up and running, a nightmare but we now > have 1.9 in AS > > Fred, > > Saying "ex

RE: [FalconJX FlexJS] JQuery up and running, a nightmare but we now have 1.9 in AS

2015-06-23 Thread Frédéric THOMAS
I had even a version using setInterval t ocheck if window["jQuery"] was present and it was), if instead I add a script tag with the src attribute pointing to JQuery, it works. Frédéric THOMAS ------------------------ > From: aha...@adobe.com > To: dev@flex.apache.

RE: [FalconJX FlexJS] JQuery up and running, a nightmare but we now have 1.9 in AS

2015-06-23 Thread Frédéric THOMAS
the init function doesn't work despite the lib has been > loaded (to be sure I had even a version using setInterval t ocheck if > window["jQuery"] was present and it was), if instead I add a script tag with > the src attribute pointing to JQuery, it works. > > Frédéric THOMAS > > > --

Re: [FalconJX FlexJS] JQuery up and running, a nightmare but we now have 1.9 in AS

2015-06-23 Thread Michael Schmalle
what you are saying, "an new language feature", for the loading of scripts and dependencies? Mike > > Frédéric THOMAS > > > > > From: webdoubl...@hotmail.com > > To: dev@flex.apache.org > > Subject: RE: [Fa

Re: [FalconJX FlexJS] JQuery up and running, a nightmare but we now have 1.9 in AS

2015-06-23 Thread Alex Harui
On 6/23/15, 5:44 AM, "Michael Schmalle" wrote: >On Tue, Jun 23, 2015 at 8:36 AM, Frédéric THOMAS >wrote: > >> It worked, it was just because I didn't know well how to use jQuery in >> that context, so, I will create utility classes to deal with >>downloading of >> scripts and css if no one see

RE: [FalconJX FlexJS] JQuery up and running, a nightmare but we now have 1.9 in AS

2015-06-23 Thread Frédéric THOMAS
dev@flex.apache.org > Subject: Re: [FalconJX FlexJS] JQuery up and running, a nightmare but we now > have 1.9 in AS > Date: Tue, 23 Jun 2015 13:07:12 + > > > > On 6/23/15, 5:44 AM, "Michael Schmalle" wrote: > >>On Tue, Jun 23, 2015 at 8:36 AM, Frédéric

Re: [FalconJX FlexJS] JQuery up and running, a nightmare but we now have 1.9 in AS

2015-06-23 Thread Alex Harui
On 6/23/15, 8:53 AM, "Frédéric THOMAS" wrote: > >Playing with the externs, we've seen that in order to customize our >index.html (adding a Script tag for JQuery for example) we had to create >another index.html outside the build folder referencing our main .js >because the original one was overr

  1   2   >