summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/boot.js
diff options
context:
space:
mode:
authorniv-openerp <nicolas.vanhoren@openerp.com>2013-08-06 10:58:12 +0200
committerniv-openerp <nicolas.vanhoren@openerp.com>2013-08-06 10:58:12 +0200
commitcb55e11c700efa298a74da781a108185682325da (patch)
treeda80e3cf274c9ce817d6de33ec805c580107ae12 /addons/web/static/src/js/boot.js
parent034e4893d5cd8c3dbd41030db765153b784cc519 (diff)
Put everything in the framework directly in the openerp namespace instead of the openerp.web namespace.
bzr revid: nicolas.vanhoren@openerp.com-20130806085812-ek8v8k0x4m7ocu4f
Diffstat (limited to 'addons/web/static/src/js/boot.js')
-rw-r--r--addons/web/static/src/js/boot.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/addons/web/static/src/js/boot.js b/addons/web/static/src/js/boot.js
index 87115fd30ea..f99d2025594 100644
--- a/addons/web/static/src/js/boot.js
+++ b/addons/web/static/src/js/boot.js
@@ -7,6 +7,9 @@
* @namespace openerp
*/
(function() {
+ // copy everything in the openerp namespace to openerp.web
+ openerp.web = _.clone(openerp);
+
var inited = false;
_.extend(openerp, {