Add mode debug info.

This commit is contained in:
Paulo Gustavo Veiga 2013-02-23 23:07:21 -03:00
parent 7960c0a419
commit f4969e11b9

View File

@ -167,7 +167,7 @@ mindplot.persistence.XMLSerializer_Beta = new Class({
$assert(documentElement.nodeName != "parsererror", "Error while parsing: '" + documentElement.childNodes[0].nodeValue); $assert(documentElement.nodeName != "parsererror", "Error while parsing: '" + documentElement.childNodes[0].nodeValue);
// Is a wisemap?. // Is a wisemap?.
$assert(documentElement.tagName == mindplot.persistence.XMLSerializer_Beta.MAP_ROOT_NODE, "This seem not to be a map document. Root Tag: '" + documentElement.tagName); $assert(documentElement.tagName == mindplot.persistence.XMLSerializer_Beta.MAP_ROOT_NODE, "This seem not to be a map document. Root Tag: '" + documentElement.tagName + ",HTML:"+dom.innerHTML);
// Start the loading process ... // Start the loading process ...
var version = documentElement.getAttribute("version"); var version = documentElement.getAttribute("version");