From 9a47f26a89faa3b9a54c0ae2da0b01b246572a28 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Fri, 28 Sep 2018 22:06:04 +0300 Subject: [PATCH] oooooops again!)) Signed-off-by: Alex A. Naanou --- walk.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/walk.js b/walk.js index 356fccf..ce93f4a 100644 --- a/walk.js +++ b/walk.js @@ -129,7 +129,9 @@ // // XXX might be a good idea to move this into it's own module... // generic-walk might be a good name... -var walk = function(get, state, ...nodes){ +var walk = +module.walk = +function(get, state, ...nodes){ var context = {} // this is used to break out of the recursion... // NOTE: this can leak out but we only care about it's identity thus