Can mustache iterate a top-level array?
I had the same problem this morning and after a little experimentation I discovered you can use the {{.}} to refer to the current element of an array:
<ul>
{{#yourList}}
<li>{{.}}</li>
{{/yourList}}
</ul>
You can do it like this...
Mustache.render('<ul>{{#.}}<li>{{.}}</li>{{/.}}</ul>', ['foo','bar','baz']);
It also works for things like this...
var obj = [{name: 'foo'}, {name: 'bar'}];
var tmp = '<ul>{{#.}}<li>{{name}}</li>{{/.}}</ul>';
Mustache.render(tmp, obj);