experimenting with render...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2019-08-16 19:10:03 +03:00
parent c26ee4e20c
commit 2ad3ccdd7e

View File

@ -522,6 +522,17 @@ var BaseItemPrototype = {
get path(){
return this.pathArray.join('/') },
// XXX local update/render...
// XXX should we use these in the main render???
render: function(){
// XXX
},
update: function(){
// XXX
},
__init__(...state){
Object.assign(this, ...state) },
}