diff options
| author | Gubolin <gubolin@fantasymail.de> | 2014-12-14 10:58:18 +0100 |
|---|---|---|
| committer | Gubolin <gubolin@fantasymail.de> | 2014-12-14 10:58:18 +0100 |
| commit | 82eac91fbd57442f6ad237e3ff8fda3ec4717acc (patch) | |
| tree | 962649d58defc0a289dfa99e9d13a7e5708d7d9f | |
| parent | 8338384bf572beb06ebd12a0c9af18029e99262a (diff) | |
| download | snap-82eac91fbd57442f6ad237e3ff8fda3ec4717acc.tar.gz snap-82eac91fbd57442f6ad237e3ff8fda3ec4717acc.zip | |
autosave every 5 minutes
| -rw-r--r-- | gui.js | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -228,6 +228,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) { |
