nimor edit...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2012-08-30 18:44:07 +04:00
parent e1f328b918
commit bea0596b9c
2 changed files with 7 additions and 5 deletions

View File

@ -1,15 +1,16 @@
Priority work
[_] 68% Preview II
[_] 47% save state
[_] 53% save state
[X] minimal: Local Storage (manual)
| works across all targets (CEF, PhoneGap, browser)
[_] local JSON (file)
[_] CouchDB
[_] 33% autosave
[_] 75% autosave
[X] on edit
[_] on navigate
[X] on navigate
| only save position to save time...
[_] on timer
[X] on timer
[_] on unload
[X] manual incremental save
[_] manual named save
[X] versions/history

View File

@ -1041,11 +1041,12 @@ function setupEvents(){
})
*/
// save things if updated within a minute...
// XXX this gets very slow when saving a large data dump...
setInterval(function(){
if(updated){
ImageGrid.saveState()
updated = false
}}, 60000)
}}, 120000)
// autosave every ten minutes...
// XXX do we really need this?
//setInterval(ImageGrid.saveState, 600000)