summaryrefslogtreecommitdiff
path: root/addons/web/static/src/js/boot.js
diff options
context:
space:
mode:
authorniv-openerp <nicolas.vanhoren@openerp.com>2013-08-06 14:07:24 +0200
committerniv-openerp <nicolas.vanhoren@openerp.com>2013-08-06 14:07:24 +0200
commit392e9d260bb692e4fa404848e70c6dc7ea61c36a (patch)
treed3d65a03e90c29deb73cf72a7a5b758d303dd647 /addons/web/static/src/js/boot.js
parent122f0aa9b39f0ed26dc26d09e4afffd949730cd1 (diff)
parentcb55e11c700efa298a74da781a108185682325da (diff)
[IMP] Mostly improvements of openerpframework.js . Moved a lot of necessary features to it (jsonrpc, models, translations,...). Added tests. Also some other style improvements.
bzr revid: nicolas.vanhoren@openerp.com-20130806120724-55nsh8ay9qiac72r
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, {