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

'with' spec is invalid #314

Closed
powerumc opened this Issue Aug 12, 2014 · 0 comments

Comments

Projects
None yet
2 participants
@powerumc
Contributor

powerumc commented Aug 12, 2014

I heard to reporte a bug about 'with' keyword.

Following code result in javascript handlebars.

json:
{ obj: { context: { one: 1, two: 2 } } }

handlebar code:
{{#with obj}}{{context.one}}{{/with}}             // should be result is '1'
{{#with obj}}{{obj.context.one}}{{/with}}         // should be result is blank

result:
1

But handlebars.java result is different the javascript handlebar.

result:
1
1

@jknack jknack added the bug label Aug 31, 2014

@jknack jknack added this to the 1.3.2 milestone Aug 31, 2014

@jknack jknack closed this in 3b78987 Aug 31, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment