mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-10-29 10:20:08 +00:00
experimenting with a comment framework...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
633baeb0a0
commit
15b915b4b5
@ -857,6 +857,24 @@ module.FileSystemSaveHistory = core.ImageGridFeatures.Feature({
|
|||||||
actions: FileSystemSaveHistoryActions,
|
actions: FileSystemSaveHistoryActions,
|
||||||
|
|
||||||
handlers: [
|
handlers: [
|
||||||
|
// XXX save/load comments to:
|
||||||
|
// <index-dir>/comments/<timestamp>-save.json
|
||||||
|
// XXX might be a good idea to make this a more generic comment
|
||||||
|
// framework...
|
||||||
|
// .comments.<type> - specific comment set...
|
||||||
|
['saveIndex',
|
||||||
|
function(){
|
||||||
|
// XXX if .savecomments changed, save it...
|
||||||
|
}],
|
||||||
|
['loadIndex',
|
||||||
|
function(){
|
||||||
|
// XXX load save comments...
|
||||||
|
}],
|
||||||
|
|
||||||
|
|
||||||
|
// XXX legacy comment handling....
|
||||||
|
// ...remove this as soon as the new scheme is done...
|
||||||
|
|
||||||
// save/resore .savecomments
|
// save/resore .savecomments
|
||||||
//
|
//
|
||||||
['json',
|
['json',
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user