Open nathanielks opened 9 years ago
Hello again!
Trying to write a helper that allows me to access partials dynamically. I'd like to access Handlebars.partials[] but broccoli-taco tells me ReferenceError: Handlebars is not defined. Is there a method in which I can access the Handlebars object?
Handlebars.partials[]
broccoli-taco
ReferenceError: Handlebars is not defined
If it helps at all, my desire is to be able to do something like this:
{{#each page.widgets}} {{dynamicPartial this.partial this}} {{/each}}
Hello again!
Trying to write a helper that allows me to access partials dynamically. I'd like to access
Handlebars.partials[]
butbroccoli-taco
tells meReferenceError: Handlebars is not defined
. Is there a method in which I can access the Handlebars object?