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.
Last active
August 29, 2015 14:17
-
-
Save dkeeghan/d9a76c092d8a245f0786 to your computer and use it in GitHub Desktop.
Making a Handlebars partial behave a little more like partials in erb.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment