Skip to content

Commit

Permalink
Simplify {@select}
Browse files Browse the repository at this point in the history
  • Loading branch information
Seth Kinast committed Apr 9, 2015
1 parent b1c770b commit 8227a11
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/dust-helpers.js
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ var helpers = {
key;

if (params.hasOwnProperty("key")) {
key = dust.helpers.tap(params.key, chunk, context);
key = context.resolve(params.key);
if (body) {
context = addSelectState(context, key);
chunk = chunk.render(body, context);
Expand Down

0 comments on commit 8227a11

Please sign in to comment.