[FIX] remove test commits

bzr revid: jke@openerp.com-20140311173519-kdk52vqcrl25r6g6
This commit is contained in:
Kersten Jeremy 2014-03-11 18:35:19 +01:00
parent 203cc0b576
commit e4c3847eb7
1 changed files with 6 additions and 13 deletions

View File

@ -50,19 +50,12 @@ openerp.testing = {};
testing.current_module = null;
testing.templates = { };
testing.add_template = function (name) {
try {
console.log(name + " loading ...");
var xhr = window.QWeb2.Engine.prototype.get_xhr();
console.log(name + " loaded ...");
xhr.open('GET', name, false);
xhr.send(null);
(testing.templates[testing.current_module] =
testing.templates[testing.current_module] || [])
.push(xhr.responseXML);
}
catch(e) {
console.log(name + " ERRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRROOOOR");
}
var xhr = QWeb2.Engine.prototype.get_xhr();
xhr.open('GET', name, false);
xhr.send(null);
(testing.templates[testing.current_module] =
testing.templates[testing.current_module] || [])
.push(xhr.responseXML);
};
/**
* Function which does not do anything