Telling YUI compressor to remove specific non-commented code
- by wheresrhys
In my javascript I have some bits of code specifically used for debugging which I don't want to include in the live site. Is there a way I can semi-comment these bits of code so that they run as javascript normally, but that yui compressor thinks they're comments and removes them?