Skip to content

Instantly share code, notes, and snippets.

@elrrrrrrr
Created August 10, 2014 05:04
Show Gist options
  • Save elrrrrrrr/0c9b3f47071a34f28c0e to your computer and use it in GitHub Desktop.
Save elrrrrrrr/0c9b3f47071a34f28c0e to your computer and use it in GitHub Desktop.
Jade gist in huiyin
//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