From fa40e6a2cfc1b0480b68299780f09d9f78971af8 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Mon, 6 May 2019 03:42:19 +0300 Subject: [PATCH] notes... Signed-off-by: Alex A. Naanou --- ui (gen4)/lib/widget/browse2.js | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/ui (gen4)/lib/widget/browse2.js b/ui (gen4)/lib/widget/browse2.js index 61c73b2e..371927e6 100755 --- a/ui (gen4)/lib/widget/browse2.js +++ b/ui (gen4)/lib/widget/browse2.js @@ -837,8 +837,10 @@ var BaseBrowserPrototype = { // perspective with one addition, expose the root stop(..) // function to func... // XXX this uses a slightly different signature to func(..) that .walk(..) does... + // XXX which of the forms should be documented in the signature??? + // NOTE: it does not matter which is used as we manually + // parse arguments... // XXX can this be simpler??? - //walk2: function(func, name, formArgs, walkable, options){ walk2: function(func, recursion, walkable, options){ var that = this @@ -1047,9 +1049,6 @@ var BaseBrowserPrototype = { this.join('\n') : this }) }, - // XXX Q: do we go down the tree using the respective method (.paths(..)) - // in this case or the more generic .walk2()??? - // ...the two examples below illustrate both approaches... paths: function(options, base){ base = base || [] return this.walk2(