Context
I saw this in a source code.
Question
What is the JavaScript framework which uses this syntax?
Code
<script id='menu-candidacies-template' type='text/html'>
{{#candidacy1}}
{{#candidates}}
<img src="{{photo.sizes.small.url}}" width="50px" height="50px" valign="middle" />
{{/candidates}}
{{/candidacy1}}
vs
{{#candidacy2}}
{{#candidates}}
<img src="{{photo.sizes.small.url}}" width="50px" height="50px" valign="middle" />
{{/candidates}}
{{/candidacy2}}
</script>
There’s mustache.js and JQuery templates and handlebars.js that use
{{and}}but mustache.js accepts#for the tag’s key.After inspecting the JS in the OP’s comment I have determined that this is indeed mustache.js version 0.4.0-dev released September 2011