Skip to content

Commit

Permalink
Release v1.7.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Seth Kinast committed Jul 28, 2015
1 parent b259474 commit 3a6c446
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 6 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
## Change Log

### v1.7.3 (2015/07/28 20:55 +00:00)
- [#140](https://github.com/linkedin/dustjs-helpers/pull/140) Fix logic helpers inside any and none blocks. (@sethkinast)

### v1.7.1 (2015/04/29 02:39 +00:00)
- [#136](https://github.com/linkedin/dustjs-helpers/pull/136) Sync linkedin/dustjs#650 (@sethkinast)
- [#135](https://github.com/linkedin/dustjs-helpers/pull/135) Evaluate truth test bodies inside a @select before resolving the select. (@sethkinast)
Expand Down
2 changes: 1 addition & 1 deletion bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dustjs-helpers",
"version": "1.7.2",
"version": "1.7.3",
"homepage": "https://github.com/linkedin/dustjs-helpers",
"authors": [
"Veena Basavaraj <[email protected]>",
Expand Down
6 changes: 4 additions & 2 deletions dist/dust-helpers.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! dustjs-helpers - v1.7.2
/*! dustjs-helpers - v1.7.3
* http://dustjs.com/
* Copyright (c) 2015 Aleksander Williams; Released under the MIT License */
(function(root, factory) {
Expand Down Expand Up @@ -71,12 +71,14 @@ function addSelectState(context, opts) {
*/
function resolveSelectDeferreds(state) {
var x, len;
state.isDeferredPending = true;
if(state.deferreds.length) {
state.isDeferredComplete = true;
for(x=0, len=state.deferreds.length; x<len; x++) {
state.deferreds[x]();
}
}
state.isDeferredPending = false;
}

/**
Expand Down Expand Up @@ -112,7 +114,7 @@ function filter(chunk, context, bodies, params, helperName, test) {
willResolve, key, value, type;

// Once one truth test in a select passes, short-circuit the rest of the tests
if (selectState.isResolved) {
if (selectState.isResolved && !selectState.isDeferredPending) {
return chunk;
}

Expand Down
4 changes: 2 additions & 2 deletions dist/dust-helpers.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "dustjs-helpers",
"version": "1.7.2",
"version": "1.7.3",
"author": {
"name": "Aleksander Williams",
"url": "http://akdubya.github.com/dustjs"
Expand Down

0 comments on commit 3a6c446

Please sign in to comment.