diff options
| author | Kersten Jeremy <jke@openerp.com> | 2014-03-11 18:35:19 +0100 |
|---|---|---|
| committer | Kersten Jeremy <jke@openerp.com> | 2014-03-11 18:35:19 +0100 |
| commit | e4c3847eb752f9e539abd9461cf2679445fba595 (patch) | |
| tree | 4a144cc7bd300734c36a0ed264c434837463c4fc /addons/web/static/src/js/testing.js | |
| parent | 203cc0b5766ff41a08e286651993b09bbb4e0d00 (diff) | |
[FIX] remove test commits
bzr revid: jke@openerp.com-20140311173519-kdk52vqcrl25r6g6
Diffstat (limited to 'addons/web/static/src/js/testing.js')
| -rw-r--r-- | addons/web/static/src/js/testing.js | 19 |
1 files changed, 6 insertions, 13 deletions
diff --git a/addons/web/static/src/js/testing.js b/addons/web/static/src/js/testing.js index 1b75e136dbb..c4f5aeebd60 100644 --- a/addons/web/static/src/js/testing.js +++ b/addons/web/static/src/js/testing.js @@ -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 |
