summaryrefslogtreecommitdiff
path: root/gui.js
diff options
context:
space:
mode:
authorGubolin <gubolin@fantasymail.de>2014-12-14 10:58:54 +0100
committerGubolin <gubolin@fantasymail.de>2014-12-14 10:58:54 +0100
commit62d9aa134d18b271a816a58f4385fcfd288bec9a (patch)
tree71f47c5e1862e7c409c0f2f81b391a1176fa0177 /gui.js
parentb2bb08144afce2e90be5942172919b9bad6df71e (diff)
parent82eac91fbd57442f6ad237e3ff8fda3ec4717acc (diff)
downloadsnap-62d9aa134d18b271a816a58f4385fcfd288bec9a.tar.gz
snap-62d9aa134d18b271a816a58f4385fcfd288bec9a.zip
Merge branch 'autosave' into development
Diffstat (limited to 'gui.js')
-rw-r--r--gui.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/gui.js b/gui.js
index d152d71..b60f5e6 100644
--- a/gui.js
+++ b/gui.js
@@ -231,6 +231,8 @@ IDE_Morph.prototype.init = function (isAutoFill) {
// override inherited properites:
this.color = this.backgroundColor;
+
+ setInterval(this.save, 1000 * 60 * 60 * 5); // every 5 minutes
};
IDE_Morph.prototype.openIn = function (world) {