summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/core.js
diff options
context:
space:
mode:
authorXavier Morel <xmo@openerp.com>2012-01-25 09:53:10 +0100
committerXavier Morel <xmo@openerp.com>2012-01-25 09:53:10 +0100
commit7ce1aad7ecbbe66f99bd345fa6b0028e64b65386 (patch)
tree2721828b653cb855c1f16d7802981a7bf5d657e5 /addons/web/static/src/js/core.js
parentfa10430e2536c3992cc5c445ecdf7d38d43db081 (diff)
[IMP] terminate statements, remove extraneous statement terminations
bzr revid: xmo@openerp.com-20120125085310-zzwjrll47n61hw8w
Diffstat (limited to 'addons/web/static/src/js/core.js')
-rw-r--r--addons/web/static/src/js/core.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/addons/web/static/src/js/core.js b/addons/web/static/src/js/core.js
index fb22b46adf8..500cf58d05f 100644
--- a/addons/web/static/src/js/core.js
+++ b/addons/web/static/src/js/core.js
@@ -1223,7 +1223,7 @@ openerp.web.qweb.default_dict = {
'_' : _,
'_t' : openerp.web._t
};
-openerp.web.qweb.format_text_node = function(s) {
+openerp.web.qweb.format_text_node = function (s) {
// Note that 'this' is the Qweb Node of the text
var translation = this.node.parentNode.attributes['t-translation'];
if (translation && translation.value === 'off') {
@@ -1235,13 +1235,13 @@ openerp.web.qweb.format_text_node = function(s) {
}
var tr = openerp.web._t(ts);
return tr === ts ? s : tr;
-}
+};
/** Jquery extentions */
$.Mutex = (function() {
function Mutex() {
this.def = $.Deferred().resolve();
- };
+ }
Mutex.prototype.exec = function(action) {
var current = this.def;
var next = this.def = $.Deferred();