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/data.js | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'addons/web/static/src/js/data.js') diff --git a/addons/web/static/src/js/data.js b/addons/web/static/src/js/data.js index d501b1263b1..26807a2ee0f 100644 --- a/addons/web/static/src/js/data.js +++ b/addons/web/static/src/js/data.js @@ -1,5 +1,8 @@ -openerp.web.data = function(instance) { +(function() { + +var instance = openerp; +openerp.web.data = {}; /** * Serializes the sort criterion array of a dataset into a form which can be @@ -1086,6 +1089,6 @@ instance.web.DropMisordered = instance.web.Class.extend({ } }); -}; +})(); // vim:et fdc=0 fdl=0 foldnestmax=3 fdm=syntax: -- cgit v1.2.3