Hi,

after playing with the new Tapestry 5.3 features, an idea came to my mind. I'd like to "abuse" the ResourceMinimizer to remove debug code when running in production mode, i.e. calls to Tapestry.debug, T5.console.debug and the like. The idea I currently have is to override the tapestry-yuicompressor contribution for "text/javascript" (unfortunately, the behavior of existing contributions cannot easily be extended as the MasterResourceMinimizer doesn't use a pipeline for each type, but that's a different story ;-) ) and remove all the calls to debug methods. Yuicompressor does not support features like that, so I wonder if there's a way to get around having to write horrible regular expressions or parser code. Any ideas? :-)

Regards,
Jochen

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to