On 6/22/15, 2:50 PM, "Frédéric THOMAS" <webdoubl...@hotmail.com> 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 is generated to call all of that. We might >>give >> folks options for different “Publishers" that package different >> bootstrapping infrastructure with the cross-compiled code. > >Just been back in front of my computer, was out and I'm almost about >going to sleep but was wondering, in the user perspective how it would >look like having different publishers that package different >bootstrapping infrastructure with the cross-compiled code ? > >I was thinking much more about loading scripts or css from AS at Class >level, a thing like: >[dowloadJSlibrary(src='https://ajax.googleapis.com/ajax/libs/jquery/1.9.0/ >jquery.min.js', type='text/javascript')] It might be worth finding examples for other bootstrap infrastructure, or hand-creating some on your own then comparing patterns with what we’re doing for Google Closure. The FlexJS Publisher handles CSS aggregated from defaults.css files in the SWCs -Alex