The compiled javascript in any form is probably less than useful to anyone wanting to reuse the code.
probably the simplest solution would be to package the source up into a jar (or a zip file) and place a link in comments just before your script tag that loads the module <!-- source code located at: http://myhost.com/somePlace/ myGWTModule.jar --> <script src="myGWTModule.nocache.js></script> That way you don't suffer a bandwidth hit loading the pretty or detailed javascript every time, while at the same time providing useful code to anyone who wants a copy. -jason On Jan 22, 2009, at 12:57 PM, Magno Machado wrote: > There's also a -style DETAILED option, or something like that.. > > 2009/1/22 David H. Cook <[email protected]> > > Tho, the resulting code isn't all that helpful, > your answer DOES work! It's alot less obscure > than it was. > > That answers it...thanks. > > > On Jan 22, 5:49 am, Paul Robinson <[email protected]> wrote: > > > So, my question is: Is there some (non-default) compile > > > option or build-option that I could use to make the generated > > > javascript less obscure? > > > > Add this to your GWTCompiler arguments: > > -style PRETTY > > > > Paul > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---
