Created
June 24, 2009 03:44
-
-
Save nex3/134988 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def conditional_body | |
haml_concat "<!--[if !IE]>--><body><!--<![endif]-->" | |
haml_concat "<!--[if IE 6]><body class='ie ie6'><![endif]-->" | |
haml_concat "<!--[if IE 7]><body class='ie ie7'><![endif]-->" | |
haml_concat "<!--[if IE 8]><body class='ie ie8'><![endif]-->" | |
tab_up | |
yield | |
tab_down | |
haml_concat "</body>" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment