Known bug in JSMin: regular expressions containing quote characters must
be proceeded by one of the following characters: (,=:[!&|?
E.g. JSMin will fail on the following: return /'/;
The current workaround is to wrap the expression in parenthesis: return
(/'/); but this is unacceptible.
The plan is to integrate this function into JSMin:
http://code.google.com/p/minify/source/browse/trunk/min/lib/MyMin.php#267
I'd like to just *use* MyMin but it fails a few conditional comment tests
and the author was unresponsive.
Original issue reported on code.google.com by mrclay....@gmail.com on 10 Jan 2009 at 3:11
Original issue reported on code.google.com by
mrclay....@gmail.com
on 10 Jan 2009 at 3:11