bobthecow/mustache.php — pull request #198 by jazzdan (2014-04-04 19:05:21+00:00)
Title: hogan.js style template inheritance

Modeled after [hogan.js](https://github.com/twitter/hogan.js), with functional tests for template inheritance copied from the hogan.js [test suite](https://github.com/twitter/hogan.js/blob/master/test/index.js#L733).

An additional test I performed was modifying the mustache_spec to have these same template inheritance rules. I then successfully ran the test suites of mustache.php with this patch and the most recent version of hogan.js after pointing them both at my modified mustache spec. It appears that they are both 100% compatible with one another.

This wasn't a solo effort by any means. Much thanks to my coworkers @mdg, @mattgraham and @benburry at @Etsy.