Permalink
Browse files

IE conditional comment docs

  • Loading branch information...
1 parent 070e479 commit 7adc1aa0f3df2ec563c453c8d7ff76a8385d2cfa @tj tj committed Oct 11, 2011
Showing with 5 additions and 5 deletions.
  1. +5 −5 Readme.md
View
@@ -295,15 +295,15 @@ outputting
Jade supports conditional-comments as well, for example:
- body
- //if IE
- a(href='http://www.mozilla.com/en-US/firefox/') Get Firefox
+ head
+ //if lt IE 8
+ script(src='/ie-sucks.js')
outputs:
<body>
- <!--[if IE]>
- <a href="http://www.mozilla.com/en-US/firefox/">Get Firefox</a>
+ <!--[if lt IE 8]>
+ <script src="/ie-sucks.js"></script>
<![endif]-->
</body>

0 comments on commit 7adc1aa

Please sign in to comment.