-
Notifications
You must be signed in to change notification settings - Fork 70
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
Feature regression in 1.7.0, logic helpers ignored in select bodies #134
Comments
What version of Dust are you using? I tried your example template on dustjs.com and it worked as expected, but it certainly doesn't work in your jsFiddle. I will dig into it, but knowing the Dust version may help. |
the fiddle indicates |
@jv-PintoBobcat awesome bug report btw. |
The issue is in Because a nested |
As @jimmyhchan indicated, I was using dust 2.7.0. However, the bug still occurs using dust 2.6.2. The issue is definitely due to a change between helpers 1.6.3 and 1.7.0. @smfoote, the dustjs.com site is still using dust 2.6.2 and helpers 1.6.2. |
I thought we had a unit test for this. I'll fix it up. On Mon, Apr 27, 2015, 9:49 AM jv-PintoBobcat [email protected]
|
Caused by changing the behavior for this issue:
|
Thanks for the great bug report! We should have 2.7.1 and 1.7.1 out this week. |
1.7.1 has been released to npm. |
Given this template:
If
selectKey
is 2 andtestVal
is 5, "Two" is rendered but "Bug!" is not.Here's a jsfiddle to show this in action. http://jsfiddle.net/hf67o6un/
The text was updated successfully, but these errors were encountered: