leshill / handlebars_assets

Use handlebars.js templates with the Rails asset pipeline.
MIT License
649 stars 159 forks source link

Partials don't work #117

Open desmondhume opened 9 years ago

desmondhume commented 9 years ago
Uncaught TypeError: Cannot assign to read only property 'partial' of partials/messages/show/_labels

This occurs when I use this in my template

{{> partials/messages/show/_labels }}

Any idea? Could it be related to handlebars 3 support? (I'm using handlebars 3)

AlexRiedler commented 9 years ago

I tried to get my dev environment working this morning with no luck; I will hopefully have some time tonight if not tomorrow night.

AlexRiedler commented 9 years ago

I have not tested partials but @desmondhume can you test on v0.19 and se what happens?

desmondhume commented 9 years ago

Works like a charm, thank you man! :+1:

dougfarre commented 9 years ago

I am running 0.20.0 and I have this same issue.