wookiehangover/universal-jst — pull request #9 by vimto (2012-05-02 10:56:45+00:00)
Title: Fix issues with handlebar partials in a subdirectory

Fixes #8:

The Handlebars engine checks the entire path (rather than just the filename) for a leading underscore when deciding if a template should be a partial. This means partials in subdirectories are not detected.

Also, the Handlebars runtime engine replaces '/'s with '.'s when resolving a partial path, so these need to be substituted in the partial when registering.