gruntjs/grunt-contrib-handlebars — pull request #5 by lazd (2012-09-14 15:38:00+00:00)
Title: Flexible namespaces for templates

Allow namespaces such as `GUI.Templates` for your compiled templates. Unit tests provided.

Uses `helpers.getNamespaceDeclaration` to declare the namespace for templates, `JSON.stringify` to escape template names (which satisfies more complex cases of #3).

Note: expected tests results have been organized into the `test/expected` directory for maintainability and easier result comparison.