Add new Tango serializer. Pending to comple migration.

This commit is contained in:
Paulo Veiga
2012-01-14 10:45:39 -03:00
parent 89060af08b
commit 1b3ad1b42d
12 changed files with 110 additions and 65 deletions

View File

@@ -168,6 +168,7 @@ mindplot.XMLMindmapSerializer_Beta = new Class({
// Start the loading process ...
var version = rootElem.getAttribute("version");
version = !$defined(version) ? mindplot.ModelCodeName.BETA : version;
var mindmap = new mindplot.model.Mindmap(mapId, version);
var children = rootElem.childNodes;