diff options
| author | niv-openerp <nicolas.vanhoren@openerp.com> | 2013-08-06 14:50:22 +0200 |
|---|---|---|
| committer | niv-openerp <nicolas.vanhoren@openerp.com> | 2013-08-06 14:50:22 +0200 |
| commit | baef37aec64b21fbdb036345a740c35a5355bc8c (patch) | |
| tree | 63bc9bea3a24b517aac123ed2c55bec4ddbe004c /addons/web/static/src/js/pyeval.js | |
| parent | c63a86c59381c09bf9a33d8719a893d5ff467c95 (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/pyeval.js')
| -rw-r--r-- | addons/web/static/src/js/pyeval.js | 7 |
1 files changed, 5 insertions, 2 deletions
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); }); }; -}; +})(); |
