summaryrefslogtreecommitdiff
path: root/addons/web/static/lib/qweb/qweb2.js
diff options
context:
space:
mode:
authorFabien Meghazi <fme@openerp.com>2012-05-21 13:40:38 +0200
committerFabien Meghazi <fme@openerp.com>2012-05-21 13:40:38 +0200
commitf2b5d602bcdb167393038bd7159d21e47e3c5144 (patch)
treede8e3447f0d1022403eb23d1dcc5752adebd6369 /addons/web/static/lib/qweb/qweb2.js
parentc47dc13048bf049c4f6084e473067fd2f60afab7 (diff)
[ADD] QWeb2: added 'void' reserved keyword
bzr revid: fme@openerp.com-20120521114038-tz48ac3cgg8zjmti
Diffstat (limited to 'addons/web/static/lib/qweb/qweb2.js')
-rw-r--r--addons/web/static/lib/qweb/qweb2.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/addons/web/static/lib/qweb/qweb2.js b/addons/web/static/lib/qweb/qweb2.js
index d4f7781e88b..c9b065ee69f 100644
--- a/addons/web/static/lib/qweb/qweb2.js
+++ b/addons/web/static/lib/qweb/qweb2.js
@@ -4,7 +4,7 @@
// TODO: t-set + t-value + children node == scoped variable ?
var QWeb2 = {
expressions_cache: {},
- RESERVED_WORDS: 'true,false,NaN,null,undefined,debugger,console,in,instanceof,new,function,return,this,typeof,eval,Math,RegExp,Array,Object,Date'.split(','),
+ RESERVED_WORDS: 'true,false,NaN,null,undefined,debugger,console,in,instanceof,new,function,return,this,typeof,eval,void,Math,RegExp,Array,Object,Date'.split(','),
ACTIONS_PRECEDENCE: 'foreach,if,call,set,esc,escf,raw,rawf,js,debug,log'.split(','),
WORD_REPLACEMENT: {
'and': '&&',