On Mon, Jun 22, 2015 at 12:28 PM, Frédéric THOMAS <webdoubl...@hotmail.com>
wrote:

>
> > FlexJS uses the MXMLFlexJSPublisher.java which uses GoogDepsWriter.
> > GoogDepsWriter scans the .js files for an <inject_html> tag and adds that
> > to the index.html. Not quite sure how the externs can take advantage of
> > that. In the flex-asjs repo, see:
> >
> > frameworks/projects/Jquery/js/src/org/apache/flex/jquery/Application.js
>
> Not sure we can use it without to modify the falcon front end / backend to
> introduce a way to inject html from AS (from MetaTag or whatever things,
> AFAIU, it would imply to add a new token, scan, parse and emit it in JS.)
> but if the plan as I understood it, is only to build AS/JS components with,
> there is no need for that feature as we can insert it has done today, in
> the generated JS, if the plan is to write JS applications (as some of us
> did recently playing with those externs), there is a room for such a
> feature, do we want FlexJS to embark such feature ?
>

Well I think the plan of the FlexJS framework hasn't changed but, I wrote
the externs stuff so I could play around with a pure JS app in AS.

So I think the real question is, how is a pure JS app going to be setup,
since I don't have a lot of experience with this stuff yet, you are saying
that stuff can be injected into the index.html right now?

Mike



>
> 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 +0000
> >
> >
> >
> > On 6/20/15, 3:12 PM, "Frédéric THOMAS" <webdoubl...@hotmail.com> 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.
> > GoogDepsWriter scans the .js files for an <inject_html> tag and adds that
> > to the index.html. Not quite sure how the externs can take advantage of
> > that. In the flex-asjs repo, see:
> >
> > frameworks/projects/Jquery/js/src/org/apache/flex/jquery/Application.js
> >
> > -Alex
> >
>
>

Reply via email to