> 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 ?

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