Skip to content

Instantly share code, notes, and snippets.

View dkeeghan's full-sized avatar

Damian Keeghan dkeeghan

View GitHub Profile
@dkeeghan
dkeeghan / README.md
Last active August 29, 2015 14:17
Making a Handlebars partial behave a little more like partials in erb.

Props to @keeganstreet for the idea around using JSON passed through as a string. This also allows you to declare the partial name, in a previous partial and load it using a string instead of relying on the name by itself. See the more detailed example (last file) for how this works.