Implement LocalStorage manager ...

This commit is contained in:
Paulo Veiga
2011-11-28 22:17:55 -03:00
parent 410d3553b1
commit a33daf4563
4 changed files with 41 additions and 28 deletions

View File

@@ -42,6 +42,12 @@ mindplot.PersitenceManager = new Class({
},
load: function(mapId) {
$assert(mapId, "mapId can not be null");
var domDocument = this.loadMapDom(mapId);
return this.loadFromDom(mapId, domDocument);
},
loadMapDom: function(mapId) {
throw "Method must be implemented";
},