Yes, but with different syntax.  See the references here:
http://trac.dojotoolkit.org/ticket/395

-bob

On Feb 1, 2006, at 9:32 AM, Beau Hartshorne wrote:

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