From 9402c167390c94df80d8e9ef90c8844d36299b7f Mon Sep 17 00:00:00 2001 From: "Alex A. Naanou" Date: Sat, 23 Feb 2019 04:00:56 +0300 Subject: [PATCH] more notes... Signed-off-by: Alex A. Naanou --- ui (gen4)/lib/widget/browse2.js | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/ui (gen4)/lib/widget/browse2.js b/ui (gen4)/lib/widget/browse2.js index d58567be..8e7bddb9 100755 --- a/ui (gen4)/lib/widget/browse2.js +++ b/ui (gen4)/lib/widget/browse2.js @@ -297,8 +297,7 @@ var BaseBrowserPrototype = { // item constructor... // - // make(value) - // make(value, options) + // make(value[, options]) // make(value, func[, options]) // -> make // @@ -320,12 +319,11 @@ var BaseBrowserPrototype = { : opts // item id... - // XXX revise id generation... - // XXX these should include the path... (???) + // XXX do a better id... + // XXX should these include the path??? var key = opts.id // value is a browser -> generate an unique id... - // XXX identify via API... - // XXX do a better id + // XXX identify via structure... || (value instanceof Browser && Date.now()) || JSON.stringify(value)