From 1b454be621761533ae751a9c502c5e758e90db5a Mon Sep 17 00:00:00 2001 From: Mike Taylor Date: Thu, 28 Nov 2013 13:35:50 +0000 Subject: [PATCH] Don't accept an empty subject from the first location if a subsequent once has a non-empty subject -- thanks to the wonder of the new "having" argument to the #first Handlebars helper: {{#first location having="md-subject"}} --- examples/htdocs/mike.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/htdocs/mike.html b/examples/htdocs/mike.html index f7dbf42..0d364b6 100644 --- a/examples/htdocs/mike.html +++ b/examples/htdocs/mike.html @@ -56,7 +56,7 @@ Subject - {{#first location}} + {{#first location having="md-subject"}} {{#if md-subject}} {{md-subject}} {{/if}} -- 1.7.10.4