Return-Path: X-Original-To: apmail-flex-dev-archive@www.apache.org Delivered-To: apmail-flex-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 6409518024 for ; Sat, 20 Jun 2015 15:38:30 +0000 (UTC) Received: (qmail 74376 invoked by uid 500); 20 Jun 2015 15:38:30 -0000 Delivered-To: apmail-flex-dev-archive@flex.apache.org Received: (qmail 74335 invoked by uid 500); 20 Jun 2015 15:38:30 -0000 Mailing-List: contact dev-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flex.apache.org Delivered-To: mailing list dev@flex.apache.org Received: (qmail 74320 invoked by uid 99); 20 Jun 2015 15:38:29 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 20 Jun 2015 15:38:29 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 34754C019C for ; Sat, 20 Jun 2015 15:38:29 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.901 X-Spam-Level: *** X-Spam-Status: No, score=3.901 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_REPLY=1, HTML_MESSAGE=3, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id Iq_6DYgk12JU for ; Sat, 20 Jun 2015 15:38:17 +0000 (UTC) Received: from mail-la0-f47.google.com (mail-la0-f47.google.com [209.85.215.47]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id E421124CEA for ; Sat, 20 Jun 2015 15:38:16 +0000 (UTC) Received: by lagx9 with SMTP id x9so1174481lag.1 for ; Sat, 20 Jun 2015 08:38:10 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=WYNMFfNSXvO20sQxIKVsBmF2mGe2MnpoU5BuFpt6+sU=; b=U0uV1mERkd+qQFY8kXjRiM88EdSt/CGoBaLkQo2dmisVCAdEShV7TjZIC4lXpOr7oT PvJ4jKZZQ4RJb/22i5hRsgCuaDTdJHc2aV5prSQ8eP5lYXmUFSgpQG2MdNtqHQ8AJihX PywHqd78ZY0TGusE6DuyW5w7BzEOrfEvmA5gmYeZZTrL1BjZKEED3PHMWfXUVSyJQXOU j2yOaDEBdQVZldwhxqTBBrw3K/z909o0rLXvcab0Gdu39lr0cPoRrwM0JLDF1Z6xMZzR wAmUcT3lOkL9zyID7LhYn4WaWvP11oC+7tqtGHov/SDcbLXlEvfhJzp5BAalUTye0LtU oIxQ== MIME-Version: 1.0 X-Received: by 10.152.26.67 with SMTP id j3mr23154896lag.7.1434814689951; Sat, 20 Jun 2015 08:38:09 -0700 (PDT) Received: by 10.114.174.35 with HTTP; Sat, 20 Jun 2015 08:38:09 -0700 (PDT) In-Reply-To: References: Date: Sat, 20 Jun 2015 11:38:09 -0400 Message-ID: Subject: Re: [FalconJX FlexJS] JQuery up and running, a nightmare but we now have 1.9 in AS From: Michael Schmalle To: dev@flex.apache.org Content-Type: multipart/alternative; boundary=089e0158be3ce9c3fb0518f4d3b7 --089e0158be3ce9c3fb0518f4d3b7 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Sat, Jun 20, 2015 at 11:13 AM, Fr=C3=A9d=C3=A9ric THOMAS wrote: > @Alex > > Why those are commented ? > > > > > > > @Mike > > > JQuery extern doesn't add anything to the DOM classes but some externs = do > > and I haven't even thought about that problem since JS.SWC is already > > created, the prototypes can't be added to. > > I didn't get all Mike, can detail ? > > Hmm, what is it the problem, that JQuery doesn't add anything to the DOM > or some other externs do ? > What do you mean by "the prototypes can't be added to." ? > Those externs have problem compiling and I havn't yet fixed the parser/AST resolver yet to accommodate them. Who knows, maybe they will after some of my refactors, I commented them out a couple weeks ago I think. Some extern files do; Window,prototype.someNewAPI; During a JS.wsc creation, the Window class is being created and the ReferenceModel is adding members to Window ClassRenference. 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 externs to JS.swc that mixin to the HTML DOM classes. Good frameworks I would think don't do this? It's just their API and that is all. > > > 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 building. > > Yes, maybe I can try and ask when a problem will occur :-) > That is how I work, break it first, then fix it. :) Mike > > Thanks, > Fr=C3=A9d=C3=A9ric THOMAS > > > ---------------------------------------- > > Date: Sat, 20 Jun 2015 10:56:13 -0400 > > Subject: Re: [FalconJX FlexJS] JQuery up and running, a nightmare but w= e > now have 1.9 in AS > > From: teotigraphixllc@gmail.com > > To: dev@flex.apache.org > > > > On Sat, Jun 20, 2015 at 10:35 AM, Fr=C3=A9d=C3=A9ric THOMAS < > webdoublefx@hotmail.com> > > wrote: > > > >>> Great! Basically, there is a js-compile-config.xml that EXTERNC is to= ld > >>> 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 rename > >>> closure-compiler folder to js-externs and create a similar > jquery-externs > >>> folder with its own copies of the -config.xml files and the jquery.js > >>> externs file in it. I think that the jquery compile-config.xml will > need > >>> to list js.swc in the external-library-path. > >> > >> Ah ok, so, I was probably in the Mike way trying to create a > >> TestExternalsJQueryCompile based on TestExternalsJSCompile ? > >> Btw, I've seen TestExternJQuery but I didn't get where it was call fro= m, > >> you know ? > >> > > > > Fred, my tests TestExternalsJSCompile was to prove that I could parse j= s, > > create the AS, create a SWC and then use that SWC to call FalconJX with > the > > FlexJS emitter and product a valid application js cross compiled file. > > > > Now, the sketchy part of jquery is that as Alex said, the build needs t= o > > include the JS.SWC for at least the Object definition to compile > correctly. > > > > You will also have to feed it those excludes I have listed in > > ExternalsTestUtils.addTestExcludesFull() line 83. > > > > JQuery extern doesn't add anything to the DOM classes but some 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 building. > > > > Mike > > > > > > > > > > > >> > >> I will dig up your way. > >> > >> Thanks, > >> Fr=C3=A9d=C3=A9ric THOMAS > >> > >> > >> ---------------------------------------- > >>> From: aharui@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 +0000 > >>> > >>> Great! Basically, there is a js-compile-config.xml that EXTERNC is to= ld > >>> 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 rename > >>> closure-compiler folder to js-externs and create a similar > jquery-externs > >>> folder with its own copies of the -config.xml files and the jquery.js > >>> externs file in it. I think that the jquery compile-config.xml will > need > >>> to list js.swc in the external-library-path. > >>> > >>> Thanks, > >>> -Alex > >>> > >>> On 6/20/15, 7:11 AM, "Fr=C3=A9d=C3=A9ric THOMAS" > wrote: > >>> > >>>>> Try wipe-all instead of clean-all? > >>>> > >>>>Work better thanks. > >>>> > >>>>I will have a look at how the things are done for js.swc, eventually, > try > >>>>jquery.swc > >>>> > >>>>Fr=C3=A9d=C3=A9ric THOMAS > >>>> > >>>> > >>>>---------------------------------------- > >>>>> From: aharui@adobe.com > >>>>> To: dev@flex.apache.org > >>>>> Subject: Re: [FalconJX FlexJS] JQuery up and running, a nightmare b= ut > >>>>>we now have 1.9 in AS > >>>>> Date: Sat, 20 Jun 2015 13:48:19 +0000 > >>>>> > >>>>> Try wipe-all instead of clean-all? > >>>>> > >>>>> On 6/20/15, 6:41 AM, "Fr=C3=A9d=C3=A9ric THOMAS" > >> wrote: > >>>>> > >>>>>>I did ant clean-all, all > >>>>>> > >>>>>> > >>>>>>Fr=C3=A9d=C3=A9ric THOMAS > >>>>>> > >>>>>> > >>>>>>---------------------------------------- > >>>>>>> From: aharui@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 +0000 > >>>>>>> > >>>>>>> Hmm. The CI build passed, so that test supposedly passed for me a= nd > >>>>>>>the > >>>>>>> CI server. Are you running that test all by itself? Did you > re-build > >>>>>>>all > >>>>>>> of the other projects (compiler, compiler.jx) first? > >>>>>>> > >>>>>>> -Alex > >>>>>>> > >>>>>>> On 6/20/15, 6:07 AM, "Fr=C3=A9d=C3=A9ric THOMAS" > >>>>>>>wrote: > >>>>>>> > >>>>>>>>> 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=E2=80=99s way now. > >>>>>>>> > >>>>>>>>Is that why I've got this error building falcon ? > >>>>>>>> > >>>>>>>>Running > >> > > >>>>>>>>org.apache.flex.compiler.internal.codegen.externals.TestExternals= JSCom > >>>>>>>>pi > >>>>>>>>le > >>>>>>>>Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: > 0,035 > >>>>>>>>sec > >>>>>>>>U:\sources\asf\flex\falcon\compiler.jx.tests\build.xml:64: Tests > >>>>>>>>failed > >>>>>>>> at > >> > > >>>>>>>>org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.actOnTestR= esult > >>>>>>>>(J > >>>>>>>>Un > >>>>>>>>itTask.java:2150) > >>>>>>>> at > >> > > >>>>>>>>org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JU= nitTa > >>>>>>>>sk > >>>>>>>>.j > >>>>>>>>ava:1101) > >>>>>>>> at > >> > > >>>>>>>>org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.oneJunitTh= read( > >>>>>>>>JU > >>>>>>>>ni > >>>>>>>>tTask.java:919) > >>>>>>>> at > >> > > >>>>>>>>org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.runTestsIn= Threa > >>>>>>>>ds > >>>>>>>>(J > >>>>>>>>UnitTask.java:932) > >>>>>>>> at > >> > > >>>>>>>>org.apache.tools.ant.taskdefs.optional.junit.JUnitTask.execute(JU= nitTa > >>>>>>>>sk > >>>>>>>>.j > >>>>>>>>ava:841) > >>>>>>>> at > > >>>>>>>>org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:2= 92) > >>>>>>>> at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) > >>>>>>>> at > >> > > >>>>>>>>sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodA= ccess > >>>>>>>>or > >>>>>>>>Im > >>>>>>>>pl.java:43) > >>>>>>>> at java.lang.reflect.Method.invoke(Method.java:601) > >>>>>>>> at > >> > > >>>>>>>>org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils= .java > >>>>>>>>:1 > >>>>>>>>06 > >>>>>>>>) > >>>>>>>> > >>>>>>>> > >>>>>>>> > >>>>>>>>Fr=C3=A9d=C3=A9ric THOMAS > >>>>>>>> > >>>>>>>> > >>>>>>>>---------------------------------------- > >>>>>>>>> From: aharui@adobe.com > >>>>>>>>> To: dev@flex.apache.org > >>>>>>>>> Subject: Re: [FalconJX FlexJS] JQuery up and running, a nightma= re > >>>>>>>>>but > >>>>>>>>>we now have 1.9 in AS > >>>>>>>>> Date: Sat, 20 Jun 2015 07:09:23 +0000 > >>>>>>>>> > >>>>>>>>> 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=E2=80=99s way now. Then I will try Jquery externs in its o= wn SWC > >> unless > >>>>>>>>> someone beats me to it. > >>>>>>>>> > >>>>>>>>> -Alex > >>>>>>>>> > >>>>>>>>> On 6/18/15, 4:46 PM, "Alex Harui" wrote: > >>>>>>>>> > >>>>>>>>>>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" < > teotigraphixllc@gmail.com > >>> > >>>>>>>>>>wrote: > >>>>>>>>>> > >>>>>>>>>>>Yeah, I am probably going to leave this stuff to to other peop= le > >> 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 18, 2015 at 3:42 PM, Michael Schmalle < > >>>>>>>>>>>> teotigraphixllc@gmail.com > >>>>>>>>>>>>> wrote: > >>>>>>>>>>>> > >>>>>>>>>>>>> On Thu, Jun 18, 2015 at 4:27 PM, OmPrakash Muppirala < > >>>>>>>>>>>> bigosmallm@gmail.com > >>>>>>>>>>>>>> > >>>>>>>>>>>>> wrote: > >>>>>>>>>>>>> > >>>>>>>>>>>>>> I don't remember using different modules in D3.js, they ar= e > >> 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 want to try and get it but > MAN > >>>>>>>>>>>>>this > >>>>>>>>>>>>stuff > >>>>>>>>>>>>> takes a lot of time to write and I just don't have the time= . > >>>>>>>>>>>>> > >>>>>>>>>>>>> I did find a piece of something that might get you going wh= en > >> we > >>>>>>>>>>>>>get > >>>>>>>>>>>>the > >>>>>>>>>>>>> compiler EXTERNC creating separate packages. Do me a favor > and > >>>>>>>>>>>>>look > >>>>>>>>>>>>at > >>>>>>>>>>>> that > >>>>>>>>>>>>> file and API, tell me how much is missing from it that you > >> would > >>>>>>>>>>>>>use > >>>>>>>>>>>>> "regularly". > >>>>>>>>>>>>> > >>>>>>>>>>>>> > >>>>>>>>>>>>> > >>>>>>>>>>>> > >>>>>>>>>>>> > >> https://github.com/lbondaryk/BrixClient/blob/master/src/externs/d3 > >>>>>>>>>>>>.v > >>>>>>>>>>>>3. > >>>>>>>>>>>>ex > >>>>>>>>>>>>t > >>>>>>>>>>>>erns.js > >>>>>>>>>>>> > >>>>>>>>>>>> > >>>>>>>>>>>> Looks a bit outdated, this one is for v3, whereas D3.js is a= t > >>>>>>>>>>>>version > >>>>>>>>>>>>3.1 > >>>>>>>>>>>> now. Other than that, on a cursory glance, it looks like all > the > >>>>>>>>>>>>commonly > >>>>>>>>>>>> used APIs are available. > >>>>>>>>>>>> > >>>>>>>>>>>> Thanks, > >>>>>>>>>>>> Om > >>>>>>>>>>>> > >>>>>>>>>>>> > >>>>>>>>>>>>> > >>>>>>>>>>>>> > >>>>>>>>>>>>> Mike > >>>>>>>>>>>>> > >>>>>>>>>>>>> > >>>>>>>>>>>>> > >>>>>>>>>>>>>> > >>>>>>>>>>>>>> Thanks, > >>>>>>>>>>>>>> Om > >>>>>>>>>>>>>> > >>>>>>>>>>>>>> On Thu, Jun 18, 2015 at 1:03 PM, Michael Schmalle < > >>>>>>>>>>>>>> teotigraphixllc@gmail.com > >>>>>>>>>>>>>>> wrote: > >>>>>>>>>>>>>> > >>>>>>>>>>>>>>> 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 exter= ns > >>>>>>>>>>>>>>>file > >>>>>>>>>>>> pretty > >>>>>>>>>>>>>>> quick. > >>>>>>>>>>>>>>> > >>>>>>>>>>>>>>> Mike > >>>>>>>>>>>>>>> > >>>>>>>>>>>>>>> On Thu, Jun 18, 2015 at 3:52 PM, Michael Schmalle < > >>>>>>>>>>>>>>> teotigraphixllc@gmail.com > >>>>>>>>>>>>>>>> wrote: > >>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>> 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, but the JS-framework-specif= ic > >>>>>>>>>>>>externs > >>>>>>>>>>>>>> should > >>>>>>>>>>>>>>>>> probably have their own swc. > >>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>> Thoughts? > >>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>> -Alex > >>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>> On 6/18/15, 12:42 PM, "OmPrakash Muppirala" > >>>>>>>>>>>> >>>>>>>>>>>>> > >>>>>>>>>>>>>>> wrote: > >>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>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 availab= le > >>>>>>>>>>>>here: > >>>>>>>>>>>>>>>>>>http://www.dotnetwise.com/Code/Externs/ Have you seen > it? > >>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>Thanks, > >>>>>>>>>>>>>>>>>>Om > >>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>On Thu, Jun 18, 2015 at 12:28 PM, Michael Schmalle < > >>>>>>>>>>>>>>>>>>teotigraphixllc@gmail.com> wrote: > >>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>> Hi, > >>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>> I decided I needed to give myself a severe headache, > so I > >>>>>>>>>>>> decided > >>>>>>>>>>>>>> to > >>>>>>>>>>>>>>>>>>>tackle > >>>>>>>>>>>>>>>>>>> JQuery externals! > >>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>> Well 4 hours later and some swearing, I got it workin= g > >>>>>>>>>>>>pretty > >>>>>>>>>>>>>> well, I > >>>>>>>>>>>>>>>>>>>had > >>>>>>>>>>>>>>>>>>> to exclude a couple "inner classes", for the most par= t, > >> it > >>>>>>>>>>>>is > >>>>>>>>>>>>> very > >>>>>>>>>>>>>>>>>>>usable. > >>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>> 1. This needs to be added to the build file > >>>>>>>>>>>>>>>>>>>(contrib/externs/jquery-1.9.js) > >>>>>>>>>>>>>>>>>>> is the source location and needs to be placed with th= e > >>>>>>>>>>>>others. > >>>>>>>>>>>>> Same > >>>>>>>>>>>>>>>>> with > >>>>>>>>>>>>>>>>>>> svg.js. > >>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>> I have not really used jQuery much so.... > >>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>> package > >>>>>>>>>>>>>>>>>>> { > >>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>> public class Main > >>>>>>>>>>>>>>>>>>> { > >>>>>>>>>>>>>>>>>>> public function Main() > >>>>>>>>>>>>>>>>>>> { > >>>>>>>>>>>>>>>>>>> var div:HTMLDivElement =3D > >>>>>>>>>>>>>>>>>>> HTMLDivElement(document.createElement("div")); > >>>>>>>>>>>>>>>>>>> div.innerHTML =3D "A nice Div element"; > >>>>>>>>>>>>>>>>>>> document.body.appendChild(div); > >>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>> $("div").css("border", "2px solid green"); > >>>>>>>>>>>>>>>>>>> } > >>>>>>>>>>>>>>>>>>> } > >>>>>>>>>>>>>>>>>>> } > >>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>> http://snag.gy/il5R6.jpg > >>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>> http://snag.gy/wyPcH.jpg > >>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>>>> Mike > >>>>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>>> > >>>>>>>>>>>>>>> > >>>>>>>>>>>>>> > >>>>>>>>>>>>> > >>>>>>>>>>>> > >>>>>>>>>> > >>>>>>>>> > >>>>>>>> > >>>>>>> > >>>>>> > >>>>> > >>>> > >>> > >> > >> > > --089e0158be3ce9c3fb0518f4d3b7--