My object looks like this:
['foo','bar','baz']
And I want to use a mustache template to produce from it something like this:
"<ul><li>foo</li><li>bar</li><li>baz</li></ul>"
But how? Do I really have to munge it into something like this first?
{list:['foo','bar','baz']}
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…