-
-
Notifications
You must be signed in to change notification settings - Fork 382
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
handlebars 3.0 support #349
Comments
Does anyone know if handlebars 3 already supported? If we just switch js library to handlebars,js 3 will it work? |
the handlebars js file is only used for hbs -> js compilation. rendering of templates uses java |
@mattkime I didn't understand from your reply whether it's supported or not. |
@grnadav if you're using handlebars.java to render hbs templates then that code won't change a thing. the js file is only used to compile hbs files into javascript. this is useful when rendering hbs on the client as its faster and doesn't require the full handlebars.js functionality. |
@mattkime Got it. Thanks! |
Guys, I will release a 2.1.0 tomorrow, which has partials params #350 & #357. But I'm not sure what else is new in terms of language feature, so do me a favor and open new issues describing what else need to be done to create a 3.0.0 compatible version. For now, I will close this issue bc it is too vague. Thanks |
Thanks for latest updates @jknack . In terms of new features from hbs.js3 from version 2 I can see these:
Here is a full release notes for hbs.js: I am not sure which of these are already supported. Some of them might not even make sense for Java environment. As hbs.js is evolving it will be difficult to maintain 1-1 compatibility. What might help is to be able to run hbs.js unit tests as part of hbs-java unit tests. Again thanks for great work, it is very appreciated. |
changes are outlined here - https://github.com/wycats/handlebars.js/blob/master/release-notes.md#v300---february-10th-2015
additional template features are of particular interest.
The text was updated successfully, but these errors were encountered: