[IMP] corelib eventdispatcher document events in class, example for JsonRpc

bzr revid: al@openerp.com-20120928004449-d9cvdmfg0ud701nx
This commit is contained in:
Antony Lesuisse
2012-09-28 02:44:49 +02:00
parent 97b1022f8b
commit 52dd75a609
+5
View File
@@ -972,6 +972,11 @@ instance.web.Registry = instance.web.Class.extend({
});
instance.web.JsonRPC = instance.web.CallbackEnabled.extend({
events: {
'request': 'Request sent',
'response': 'Response received',
'error': 'HTTP Error response or timeout received',
},
/**
* @constructs instance.web.JsonRPC
* @extends instance.web.CallbackEnabled