Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not clear about passing custom partials #252

Closed
tonyouyang opened this issue Jun 5, 2012 · 0 comments
Closed

Not clear about passing custom partials #252

tonyouyang opened this issue Jun 5, 2012 · 0 comments
Labels
Milestone

Comments

@tonyouyang
Copy link

As mentioned in "Upgrading" section in readme, it seems possible to (dynamically) pass custom partials when rendering.

Here "dynamically" means that one can decide the partials conditionally instead of register them globally e.g. pass Handlebars.templates.foo as myPartial under one situation while Handlebars.templates.bar under others.

Am I correct? Note only the "Upgrading" section mentions the additional parameters for template API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant