mirror of
https://github.com/flynx/ImageGrid.git
synced 2025-11-02 04:10:11 +00:00
nimor edit...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
e1f328b918
commit
bea0596b9c
@ -1,15 +1,16 @@
|
|||||||
Priority work
|
Priority work
|
||||||
[_] 68% Preview II
|
[_] 68% Preview II
|
||||||
[_] 47% save state
|
[_] 53% save state
|
||||||
[X] minimal: Local Storage (manual)
|
[X] minimal: Local Storage (manual)
|
||||||
| works across all targets (CEF, PhoneGap, browser)
|
| works across all targets (CEF, PhoneGap, browser)
|
||||||
[_] local JSON (file)
|
[_] local JSON (file)
|
||||||
[_] CouchDB
|
[_] CouchDB
|
||||||
[_] 33% autosave
|
[_] 75% autosave
|
||||||
[X] on edit
|
[X] on edit
|
||||||
[_] on navigate
|
[X] on navigate
|
||||||
| only save position to save time...
|
| only save position to save time...
|
||||||
[_] on timer
|
[X] on timer
|
||||||
|
[_] on unload
|
||||||
[X] manual incremental save
|
[X] manual incremental save
|
||||||
[_] manual named save
|
[_] manual named save
|
||||||
[X] versions/history
|
[X] versions/history
|
||||||
|
|||||||
@ -1041,11 +1041,12 @@ function setupEvents(){
|
|||||||
})
|
})
|
||||||
*/
|
*/
|
||||||
// save things if updated within a minute...
|
// save things if updated within a minute...
|
||||||
|
// XXX this gets very slow when saving a large data dump...
|
||||||
setInterval(function(){
|
setInterval(function(){
|
||||||
if(updated){
|
if(updated){
|
||||||
ImageGrid.saveState()
|
ImageGrid.saveState()
|
||||||
updated = false
|
updated = false
|
||||||
}}, 60000)
|
}}, 120000)
|
||||||
// autosave every ten minutes...
|
// autosave every ten minutes...
|
||||||
// XXX do we really need this?
|
// XXX do we really need this?
|
||||||
//setInterval(ImageGrid.saveState, 600000)
|
//setInterval(ImageGrid.saveState, 600000)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user