From c21dc0d4c47e94a4fa842f4789ad1f974ba75d57 Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Mon, 31 Aug 2015 20:57:05 +0300 Subject: [PATCH] updated docs... Signed-off-by: Alex A. Naanou --- ui (gen4)/experiments/browse-dialog.html | 2 +- ui (gen4)/experiments/browse-dialog.js | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/ui (gen4)/experiments/browse-dialog.html b/ui (gen4)/experiments/browse-dialog.html index cef7f87f..624d3a62 100755 --- a/ui (gen4)/experiments/browse-dialog.html +++ b/ui (gen4)/experiments/browse-dialog.html @@ -262,7 +262,7 @@ requirejs(['../lib/keyboard', '../object', './browse-dialog'], function(k, o, br // render a custom sub-tree... 'dynamic/*': function(path, make){ - console.log('option:', path) + console.log('listing:', path) return [1,2,3] .map(function(e){ diff --git a/ui (gen4)/experiments/browse-dialog.js b/ui (gen4)/experiments/browse-dialog.js index 685d1321..f178fd8a 100755 --- a/ui (gen4)/experiments/browse-dialog.js +++ b/ui (gen4)/experiments/browse-dialog.js @@ -1707,6 +1707,9 @@ module.makeList = function(elem, list){ // for more docs see: Browser.list(..) // // +// NOTE: listers take precedence over explicit path definitions, thus +// if a custom lister pattern intersects with a normal path the path +// will be ignored and the lister called. // NOTE: currently only trailing '*' are supported. // // XXX add support for '*' and '**' glob patterns...