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

Sync debug and assert files should not always use the configured output wrapper. #34

Open mrburrito opened 11 years ago

mrburrito commented 11 years ago

When generating the typical asynchronously loading assert and debug code, the configured outputWrapper is ignored. When the synchronous files are created, they use the compiler and wrap the code in that wrapper. This is causing problems when wrapping the compiled code in an anonymous function, preventing the synchronous debug and assert libraries from working.

Add an option to the compiler plugin that requests the synchronous debug and assert output ignore any configured outputWrapper.