Re: Generating a single .js library with GWT

2013-02-13 Thread Marcos Scriven
Thanks for the suggestion - in my particular case though I was looking to create a JS library. One that didn't touch the DOM at all. Thus there should be no variations I believe? So I arbitrarily chose 'safari' (As the 'webkit' agent). Marcos On Wednesday, February 13, 2013 12:53:26 AM UTC,

Re: Generating a single .js library with GWT

2013-02-12 Thread Marcos Scriven
I had the very same question. It's irritating the 1.5 docs are still quite so prominent in Google search! The closest I could find is this: http://www.mccarroll.net/snippets/j2js/index.html Which uses a bit of Python to strip out the useful code. I believe that could instead be done with a

Re: Generating a single .js library with GWT

2013-02-12 Thread Marcos Scriven
Just to add to that, specifically, you could override this: http://code.google.com/p/google-web-toolkit/source/browse/trunk/dev/core/src/com/google/gwt/core/linker/SingleScriptTemplate.js Thus obviating the need to strip out the unneeded stuff! On Tuesday, February 12, 2013 10:23:11 PM UTC,

Re: Generating a single .js library with GWT

2013-02-12 Thread Thomas Broyer
Have you tried collapse-all-properties/ (see https://code.google.com/p/google-web-toolkit/wiki/SoftPermutations) possibly combined with add-linker name=sso/ On Tuesday, February 12, 2013 11:23:11 PM UTC+1, Marcos Scriven wrote: I had the very same question. It's irritating the 1.5 docs are

Generating a single .js library with GWT

2013-01-16 Thread Patrick Coleman
Hey all - I have a GWT app that I'd like to serve as a single .js file that I can use as a library, has anyone had success in this area? I notice that the 'Linker Designhttp://code.google.com/p/google-web-toolkit/wiki/LinkerDesign' site has the following bullet: *Use cases we definitely