tweaks...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2019-11-30 04:56:55 +03:00
parent 1409d8df4b
commit b9d310724e

View File

@ -1124,16 +1124,15 @@ function(title, value, options){
// ...not sure how critical this is at this point...
// XXX move this to browse???
browse.items.Domain = function(name, obj){
var that = this
var sub = function(){
return that(...arguments) }
sub.__proto__ = that
return this(...arguments) }
sub.__proto__ = this
obj
&& Object.assign(sub, obj)
return that[name] = sub }
return (this[name] = sub) }
browse.items.Domain('ig', {
browse.items.Domain('form', {
attrToggle: function(){
// XXX
},