Created
August 10, 2014 05:04
-
-
Save elrrrrrrr/0c9b3f47071a34f28c0e to your computer and use it in GitHub Desktop.
Jade gist in huiyin
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
//jade 通过缩进行条件判断,所以需要使用三元表达式进行简单的class添加 | |
ul.ul-con(class=isAdd?'add':'disadd') | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment