jlgrock / ClosureJavascriptFramework

A group of plug-ins that can be used in conjunction with maven to execute the Google Closure Compiler on JavaScript code. This Framework allows for scaling and modularity.
MIT License
16 stars 7 forks source link

Add an option for generating synchronously loading debug and assert libraries. #31

Open mrburrito opened 11 years ago

mrburrito commented 11 years ago

In some instances, it would be useful to have a version of the assert and debug libraries that is a single file instead of the asynchronously loading files that are currently generated. A specific use case is hosting the compiled and assert/debug code from a secured web server that needs to modify the returned JavaScript at request time. This is nearly impossible to do with the async code because the library needs to have a single entry point and we don't want to expose all of the internal files from the web server.