mozilla/fxa-content-server — pull request #177 by nchapman (2013-12-19 01:04:57+00:00)
Title: Replace Hogan.js with Mustache.js

This fixes the issue with translated strings (#154) by replacing Hogan.js with Mustache.js. Hogan performs better in production because the templates are completely precompiled, but that also prevents lambdas functions from working properly. Since we're using lambdas to look up translated strings, we don't have much choice but to abandon Hogan.js.

I configured `requirejs-mustache` to use `.mustache` rather than `.html` as the template file extension to minimize changes, but we might want to rename them to end in `.html` for convention's sake. The other change is that we'll now use `stache!` in the template path rather than `hgn!`.