194
rated 0 times
[
199]
[
5]
/ answers: 1 / hits: 55162
/ 12 Years ago, thu, january 3, 2013, 12:00:00
Is there a way to do this inline in a jade template?
if(typeof fromEdit != 'undefined')
div#demo.collapse.in
else
div#demo.collapse
Would like to do this conditional check inline and the result would add the .in to the end of the div if fromEdit exists.
More From » node.js