You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 27, 2018. It is now read-only.
I tried to figure out the cause by reading the sourcecode.
Because caller of the helpers seems in mustache.js, I gave up and switch template engine to punch-engine-handlebars.
Block helper works with punch-engine-handlebars.
I'm not sure this problem is just on me or not.
My env.
Env
version
node
v0.11.9
npm
1.3.15
punch
0.5.40
mustache
0.8.0
OS
Mac OS X Lion
The text was updated successfully, but these errors were encountered:
Tag helper works, but block helper doesn't work.
What I did 1.
To make sure, I did
punch setup foo; punch s
aside from my working project and opend in a browser.a part of _header.mustache
a part of HTML rendered
What I did 2.
I have used https://github.com/laktek/punch-current-page-helper in my project has also the broblem.
When I added
console.log(text)
before https://github.com/laktek/punch-current-page-helper/blob/05160af5231291468c80052076d68c46502e810d/lib/current_page_helper.js#L17 , I got empty intext
.I tried to figure out the cause by reading the sourcecode.
Because caller of the helpers seems in mustache.js, I gave up and switch template engine to punch-engine-handlebars.
Block helper works with punch-engine-handlebars.
I'm not sure this problem is just on me or not.
My env.
The text was updated successfully, but these errors were encountered: