[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:
parent
6bf2a9efd6
commit
c7cfccf678
|
@ -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");
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue