Skip to content

Commit

Permalink
IE conditional comment docs
Browse files Browse the repository at this point in the history
  • Loading branch information
tj committed Oct 11, 2011
1 parent 070e479 commit 7adc1aa
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -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>

Expand Down

0 comments on commit 7adc1aa

Please sign in to comment.