yeoman/generator-backbone — pull request #42 by zeripath (2013-04-21 17:52:46+00:00)
Title: Bug fix automatic generation of mustache templates.

Sorry about this guys, I've just realised that the mustache template generation patch I created wasn't quite right. Grunt-mustache works slightly differently from grunt-contrib-jst and grunt-contrib-handlebars, in that it creates a JST hash with keys only of the relative filename. This patch fixes this by adjusting the key referenced in the auto-generated views. (There is a slight hack in that it adds the suffix '-template' to the template names to workaround jshint complaining about JST['oneWord'] but not JST['two-words'].)