notes and tweaks...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2022-06-17 11:31:45 +03:00
parent 9a1324e544
commit 5bfdce6cdf

View File

@ -2280,12 +2280,11 @@ object.Constructor('Page', BasePage, {
return msg }
throw new Error(msg) }
// get the data...
return typeof(data) == 'function' ?
// XXX FUNC not sure about this...
return (
// action...
typeof(data) == 'function' ?
data.call(this)
// multiple matches...
// XXX should this get one of the pages or all of the pages???
// XXX should we use a special template to render???
: data instanceof Array ?
data
.map(function(d){
@ -2293,7 +2292,7 @@ object.Constructor('Page', BasePage, {
d.call(that)
: d.text })
.flat()
: data.text }).call(this) },
: data.text )}).call(this) },
set raw(value){
this.__update__({text: value}) },
//this.onTextUpdate(value) },