[REM] broken QWeb.dump() and QWeb.debug() functions ('s' unknown and undeclared in dump), broken qweb demo HTML file

bzr revid: xmo@openerp.com-20110309104358-ndorl9ijp1perixs
This commit is contained in:
Xavier Morel 2011-03-09 11:43:58 +01:00
parent 6bf2a9efd6
commit c7cfccf678
1 changed files with 0 additions and 16 deletions

View File

@ -353,22 +353,6 @@ var QWeb = {
} else {
return "template " + name + " not found";
}
},
dump:function(o) {
var r = "";
if (typeof(o) == "object") {
for (var i in o) {
r += i + " : " + this.dump(s) + "\n";
}
r = s + "{\n" + r + "}\n";
} else {
r = s + "";
}
return r;
},
debug:function(s) {
var r = this.dump(s);
$("#debug")[0].append(this.escape_text(r) + "<br/>\n");
}
};