notes and cleanup...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2019-01-29 04:35:39 +03:00
parent a2f7687335
commit 517672994d

View File

@ -503,6 +503,8 @@ var TextBrowserPrototype = {
renderIndent: '\t',
},
// NOTE: we do not need .renderGroup(..) here as a group is not
// visible in text...
renderList: function(items, options){
var that = this
return this.renderSubList(items, null, options)
@ -516,8 +518,6 @@ var TextBrowserPrototype = {
e.map(function(e){ return (that.options.renderIndent || ' ') + e })
: e })
.flat() },
//renderGroup: function(items, options){
// return items },
renderItem: function(item, i, options){
var value = item.value || item
return item.current ?