Answer the question
In order to leave comments, you need to log in
Jade template engine. How to declare a multiline array?
I would like to declare an array of variables which is then passed to the mixin
- var newsList = [
{pubDate : '23:48', item: 'title1' ,url:''},
{pubDate : '22:43', item: 'title2' ,url:''},
{pubDate : '13:48', item: 'title3' ,url:''},
{pubDate : '03:14', item: 'title4' ,url:''},
]
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question