summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/boot.js
diff options
context:
space:
mode:
authorniv-openerp <nicolas.vanhoren@openerp.com>2013-07-29 11:25:12 +0200
committerniv-openerp <nicolas.vanhoren@openerp.com>2013-07-29 11:25:12 +0200
commit22ac3304e1e29699db3b9068d1a417a269ec944a (patch)
tree5dafdc42f6998e2cf0965ee318bf142e5c6c7bfd /addons/web/static/src/js/boot.js
parent4157b860bc11aa4a882539761863fd67cb7929ee (diff)
Added strict mode and es3 mode to framework and corrected some problems
bzr revid: nicolas.vanhoren@openerp.com-20130729092512-1ip4abjrypf74qr2
Diffstat (limited to 'addons/web/static/src/js/boot.js')
-rw-r--r--addons/web/static/src/js/boot.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/addons/web/static/src/js/boot.js b/addons/web/static/src/js/boot.js
index c255db36ff8..87115fd30ea 100644
--- a/addons/web/static/src/js/boot.js
+++ b/addons/web/static/src/js/boot.js
@@ -40,7 +40,7 @@
var fct = openerp[modules[i]];
if (typeof(fct) === "function") {
openerp[modules[i]] = {};
- for (k in fct) {
+ for (var k in fct) {
openerp[modules[i]][k] = fct[k];
}
fct(openerp, openerp[modules[i]]);
@@ -60,7 +60,7 @@
var fct = openerp.web[files[i]];
if(typeof(fct) === "function") {
openerp.web[files[i]] = {};
- for (k in fct) {
+ for (var k in fct) {
openerp.web[files[i]][k] = fct[k];
}
fct(openerp, openerp.web[files[i]]);