Do conditional comments work in .js files? I couldn't find any reference to it, and tried:

/*[if IE]
alert('hello');
[endif]*/

That didn't work, and it doesn't seem to work with CSS either. In any case, I don't think Dojo's compressor is the problem here.

On 31-Jan-06, at 11:42 AM, Bob Ippolito wrote:

I think it would be best to wait until Dojo's compressor supports preservation of conditional comments, so that the IE hacks stay inline. This is just an optimization, not a feature or a bug fix...

Reply via email to