From baef37aec64b21fbdb036345a740c35a5355bc8c Mon Sep 17 00:00:00 2001 From: niv-openerp Date: Tue, 6 Aug 2013 14:50:22 +0200 Subject: [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 --- addons/web/static/src/js/pyeval.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'addons/web/static/src/js/pyeval.js') diff --git a/addons/web/static/src/js/pyeval.js b/addons/web/static/src/js/pyeval.js index 06dc7ae1815..0b0e9725af9 100644 --- a/addons/web/static/src/js/pyeval.js +++ b/addons/web/static/src/js/pyeval.js @@ -1,7 +1,10 @@ /* * py.js helpers and setup */ -openerp.web.pyeval = function (instance) { +(function() { + + var instance = openerp; + instance.web.pyeval = {}; var obj = function () {}; @@ -864,4 +867,4 @@ openerp.web.pyeval = function (instance) { } }, 0); }); }; -}; +})(); -- cgit v1.2.3