mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 18:30: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...
|
// ...not sure how critical this is at this point...
|
||||||
// XXX move this to browse???
|
// XXX move this to browse???
|
||||||
browse.items.Domain = function(name, obj){
|
browse.items.Domain = function(name, obj){
|
||||||
var that = this
|
|
||||||
var sub = function(){
|
var sub = function(){
|
||||||
return that(...arguments) }
|
return this(...arguments) }
|
||||||
sub.__proto__ = that
|
sub.__proto__ = this
|
||||||
obj
|
obj
|
||||||
&& Object.assign(sub, obj)
|
&& Object.assign(sub, obj)
|
||||||
return that[name] = sub }
|
return (this[name] = sub) }
|
||||||
|
|
||||||
|
|
||||||
browse.items.Domain('ig', {
|
browse.items.Domain('form', {
|
||||||
attrToggle: function(){
|
attrToggle: function(){
|
||||||
// XXX
|
// XXX
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user