Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2019-06-27 02:39:33 +03:00
parent 10f6cbf651
commit aba9bb75da

View File

@ -980,7 +980,7 @@ var BaseBrowserPrototype = {
return (this.pathArray || []).join('/') }, return (this.pathArray || []).join('/') },
set path(value){ set path(value){
this.load(value) }, this.load(value) },
// XXX // XXX do we make this writable???
get pathArray(){ get pathArray(){
return this.__items != null ? return this.__items != null ?
this.get('focused', this.get('focused',
@ -3170,6 +3170,8 @@ var HTMLItemPrototype = {
// calling .elem.replaceWith(..)... // calling .elem.replaceWith(..)...
// the new .dom value is replaced correctly but it is detached, // the new .dom value is replaced correctly but it is detached,
// thus we see no change... // thus we see no change...
// XXX THIS IS WRONG...
// ...this can detach elements, see above for more info...
set elem(value){ set elem(value){
this.dom ? this.dom ?
this.elem.replaceWith(value) this.elem.replaceWith(value)