Open xsuii opened 10 years ago
What you are looking for is:
%haml.no-js.lt-ie9.lt-ie8.lt-ie7
Your notation is almost there, but why waste the time with all the characters when haml is meant to make your life easier.
%haml(class: 'class1 class2')
Both will work, but which one looks better? Don't forget the colon for assignment!
@taystack Ok, it is a little mistake here, thanks for your reminding. But my point is the support of conditional comments
feature which means the compiling of
/[if IE]
%html
doesn't work well.
@xsuii Understood. I figured we could address the error message and take it from there. Happy coding!
@taystack Appreciate it.
I would like to use the conditional comments feature by using grunt-haml. But got some error. This is my grunt task configuration:
and this is my .haml code:
The error: