mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-28 18:00:09 +00:00
tweaks...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
1409d8df4b
commit
b9d310724e
@ -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
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user