@cc_on comments are stripped out
Closed this issue · 1 comments
vlucas commented
Apparently UglifyJS does not parse comments, and just strips out anything with an IE conditional comment:
/*@cc_on
if (/^10/.test(@_jscript_version)) {
$("html").addClass("ie10");
}
@*/
More on this: http://stackoverflow.com/questions/1843247/cc-on-and-ie6-detection
Official docs: http://msdn.microsoft.com/en-us/library/ie/8ka90k2e%28v=vs.94%29.aspx
vlucas commented
This is not going to be supported, because Uglify.js (which we use for compression) cannot parse comments.