diff --git a/ui (gen4)/lib/widget/browse2.js b/ui (gen4)/lib/widget/browse2.js index b535faa0..973202de 100755 --- a/ui (gen4)/lib/widget/browse2.js +++ b/ui (gen4)/lib/widget/browse2.js @@ -252,18 +252,6 @@ var makeItemEventMethod = function(event, handler){ }) } -var makeWalker = function(name, func, options){ - return function(...args){ - // XXX do we get passed options?? - return this.walk2( - func, - function(children){ - return children[name](...args) }, - function(node){ - return node && node[name] instanceof Function }, - options || {}) } } - - // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -1038,13 +1026,6 @@ var BaseBrowserPrototype = { && [ (options || {}).joinPaths !== false ? p.join('/') : p ] }, options) }, - // XXX need to be able to update context (i.e. path) ... - paths3: makeWalker('path3', - function(n, i, p){ - return n - && [ (options || {}).joinPaths !== false ? - p.join('/') - : p ] }), // Extended map...