-
-
Notifications
You must be signed in to change notification settings - Fork 384
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
Support for Handlebars 3.0.0 #400
Comments
it is already there: Handlebars hbs = new Handlebars();
hbs.handlebarsJsFile("/handlebars-v3.0.3.js"); Just download |
That's cool-- any plans to make 3.0.0 the new default for handlebars-maven-plugin? So we don't have to download and maintain our own copy? |
yea, 3.0.0 will be the new default once handlebars.java 3.0.0 gets out! but there is no release date yet... I'm busy working on http://jooby.org which I invited you to try and play :) |
maybe straight to 4.x ? :) |
+1 for 4.x support. Your embedded ANTLr grammar doesn't appear to support the block syntax for partials which was added (the error message isn't fantastic either; I thought I was using the wrong handlebars.js file at first and didn't realize the error was actually coming from inside the Maven plugin itself). |
Hi guys, can you collect what are the new feature of handlebars.js 4.x? For example, I don't know what is: block syntax for partials. Thanks |
If you reference http://handlebarsjs.com/partials.html, one of the new features is the ability to supply fallback / additional content to a partial by invoking it in "block" form, like so:
|
It also seems like support for partial variables doesn't work either? I get different results compiling with handlebars from npm when using a construct like:
If I'm interpreting handlebars-lang/handlebars.js#410 correctly this was actually added back in the 2.x release line. |
partial params does work! do you have problem with handlebar.js integration ? |
Hrm, perhaps my configuration of the Maven plugin is wrong then? I'm telling it to use the 3.0.3 handlebars.js file, but my outputted templates.js file does not include the proper hash params. I'll see if I can put together a self-contained test case. |
handlebars.java 3.0.0 will comes with handlebars.js 3.0.0 as default |
Hi,
Handlebars 3.0.3 is out. Will the latest version of Handlebars receive any love? =)
-Saad
The text was updated successfully, but these errors were encountered: