-
Notifications
You must be signed in to change notification settings - Fork 70
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Comparison helpers should still execute when their key parameter is s…
…et but resolves to undefined. Previously, if a helper's key parameter was set, but the Dust variable to which it pointed did not exist, the helper would immediately abort. However, this breaks cases especially for {@ne} in which it would be completely valid if the key did not exist. The helper will still fail to execute if a key parameter is not passed. However, if the parameter resolves to an undefined variable, it will now execute. This is a non-backwards-compatible change. Closes #59.
- Loading branch information
Seth Kinast
committed
Nov 18, 2014
1 parent
35bf5eb
commit b27c30a
Showing
2 changed files
with
23 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters