Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2019-09-15 04:06:43 +03:00
parent a083ffe0fc
commit 6eb7e8b810

View File

@ -3191,7 +3191,7 @@ var BaseBrowserPrototype = {
__renderer__: TextRenderer,
// XXX need:
// - from/to/around/count support...
// - from/to/around/count support -- still buggy...
// - ability to render separate items/sub-trees or lists of items...
// ...pass the list to .walk(..), i.e. .walk(list/query, ...)
// - buggy -- dialog.render(dialog.get({children: true})) broken...
@ -3366,8 +3366,6 @@ var BaseBrowserPrototype = {
(l = (e.children instanceof BaseBrowser ?
e.children
: e)
// XXX we for some reason lose part
// of the options here...
.render(options, render, i+1, p))
: children(true) }
@ -3380,7 +3378,7 @@ var BaseBrowserPrototype = {
&& e && e.children
// only sub-path...
&& p.cmp(from_path.slice(0, p.length))) ?
// XXX this is wrong...
// XXX this is not totally correct for nested browsers....
render.nest(null, getChildren(), i, p, options)
// skip: out of range items...
: ((from != null && i < from)