mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-30 19:00:09 +00:00
some cleanup...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
54c37a769a
commit
5704e829b8
@ -1014,7 +1014,6 @@ actions.Actions({
|
|||||||
}],
|
}],
|
||||||
clear: [
|
clear: [
|
||||||
function(){ this.ribbons.clear() }],
|
function(){ this.ribbons.clear() }],
|
||||||
|
|
||||||
clone: [function(full){
|
clone: [function(full){
|
||||||
return function(res){
|
return function(res){
|
||||||
if(this.ribbons){
|
if(this.ribbons){
|
||||||
@ -4061,6 +4060,9 @@ module.FileSystemWriter = ImageGridFeatures.Feature({
|
|||||||
},
|
},
|
||||||
|
|
||||||
// monitor changes...
|
// monitor changes...
|
||||||
|
// XXX should we use .load(..) to trigger changes instead of .loadURLs(..)???
|
||||||
|
// ...the motivation is that .crop(..) may also trigger loads...
|
||||||
|
// ....needs more thought...
|
||||||
handlers: [
|
handlers: [
|
||||||
// clear changes...
|
// clear changes...
|
||||||
// XXX currently if no args are passed then nothing is
|
// XXX currently if no args are passed then nothing is
|
||||||
@ -4083,8 +4085,9 @@ module.FileSystemWriter = ImageGridFeatures.Feature({
|
|||||||
// everything changed...
|
// everything changed...
|
||||||
[[
|
[[
|
||||||
'loadURLs',
|
'loadURLs',
|
||||||
|
'clear',
|
||||||
].join(' '),
|
].join(' '),
|
||||||
function(_, target){
|
function(){
|
||||||
// NOTE: this is better than delete as it will shadow
|
// NOTE: this is better than delete as it will shadow
|
||||||
// the parent's changes in case we got cloned from
|
// the parent's changes in case we got cloned from
|
||||||
// a live instance...
|
// a live instance...
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user