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:50:22 +0200
committerniv-openerp <nicolas.vanhoren@openerp.com>2013-08-06 14:50:22 +0200
commitbaef37aec64b21fbdb036345a740c35a5355bc8c (patch)
tree63bc9bea3a24b517aac123ed2c55bec4ddbe004c /addons/web/static/src/js/boot.js
parentc63a86c59381c09bf9a33d8719a893d5ff467c95 (diff)
[IMP] Removed old JavaScript module loading system in the 'web' addons. Still has some retro-compatibility for other addons.
bzr revid: nicolas.vanhoren@openerp.com-20130806125022-bzjbtn0nqk40ak4g
Diffstat (limited to 'addons/web/static/src/js/boot.js')
-rw-r--r--addons/web/static/src/js/boot.js18
1 files changed, 0 insertions, 18 deletions
diff --git a/addons/web/static/src/js/boot.js b/addons/web/static/src/js/boot.js
index f84a1d95d72..48b19f29971 100644
--- a/addons/web/static/src/js/boot.js
+++ b/addons/web/static/src/js/boot.js
@@ -36,7 +36,6 @@
if (inited)
throw new Error("OpenERP was already inited");
inited = true;
- init_web_modules();
for(var i=0; i < modules.length; i++) {
if (modules[i] === "web")
continue;
@@ -53,22 +52,5 @@
return openerp;
}
});
-
- /*---------------------------------------------------------
- * OpenERP Web web module split
- *---------------------------------------------------------*/
- function init_web_modules() {
- var files = ["pyeval","core","dates","formats","chrome","data","views","search","list","form","list_editable","web_mobile","view_tree","data_export","data_import"];
- for(var i=0; i<files.length; i++) {
- var fct = openerp.web[files[i]];
- if(typeof(fct) === "function") {
- openerp.web[files[i]] = {};
- for (var k in fct) {
- openerp.web[files[i]][k] = fct[k];
- }
- fct(openerp, openerp.web[files[i]]);
- }
- }
- }
})();