dandean/mustachio — Issue #2: Partials not working in Express 2.5.5
Author: seanfridman
Created: 2012-01-17 07:36:38+00:00
State: open

Express version: 2.5.5
Mustachio version: 0.2.0

Googled around for transparent mustache partials in Express and found mustachio. Not sure whether you're still maintaining it...

Partials aren't working for me. The correct HTML is being generated by mustache.to_html(), but the express server just hangs and never responds to requests. This only occurs when I try to use partials. Skimmed over the express internals enough to get this fix:

https://gist.github.com/1625470

The change is the setting of 'options.isPartial'. Guessing this property was added in a later version of express?