Commit Graph
3 Commits
Author SHA1 Message Date
Justin Hileman fe9fccb441 Update the partials example to be a failing test case for partial indenting. 2012-03-14 13:20:30 -07:00
Justin Hileman 1d116d1b77 Update examples for v2.0 2012-02-29 18:02:36 -08:00
Justin Hileman 2c3984a604 Fix for #1 - incorrect context for partials.
Partials now receive a flattened version of the parent context, including a cloned Mustache instance (if the root context is a Mustache instance). There may be issues with cloning, for example: if a pragma is enabled in the parent template, partials might also inherit the pragma.
Added (basic) test case for partials.
2010-05-16 15:04:22 -04:00