From d4ed96de0cc186451c19d6b7d81037cb6355cd26 Mon Sep 17 00:00:00 2001 From: Stephen Hess Date: Thu, 15 Sep 2016 16:44:19 -0400 Subject: [PATCH] added explicit `return undefined` + comments --- query/search.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/query/search.js b/query/search.js index 64d6f67d..33847da5 100644 --- a/query/search.js +++ b/query/search.js @@ -124,6 +124,10 @@ function getQuery(vs) { return fallbackQuery.render(vs); } + // returning undefined is a signal to a later step that the addressit-parsed + // query should be queried for + return undefined; + } function hasStreet(vs) {