[FIX] documentation of private Events mixin in ListView

bzr revid: xmo@openerp.com-20110912123852-vj9u9n15l44t3wo0
This commit is contained in:
Xavier Morel 2011-09-12 14:38:52 +02:00
parent 127364adca
commit 3b98700d9d
1 changed files with 4 additions and 7 deletions

View File

@ -1218,10 +1218,9 @@ openerp.web.ListView.Groups = openerp.web.Class.extend( /** @lends openerp.web.L
});
/**
* @class
* @extends openerp.web.Class
* @mixin Events
*/
var Events = {
var Events = /** @lends Events# */{
/**
* @param {String} event event to listen to on the current object, null for all events
* @param {Function} handler event handler to bind to the relevant event
@ -1274,8 +1273,7 @@ var Record = openerp.web.Class.extend(/** @lends Record# */{
* @constructs Record
* @extends openerp.web.Class
*
* @borrows Events#bind as this.bind
* @borrows Events#trigger as this.trigger
* @mixes Events
* @param {Object} [data]
*/
init: function (data) {
@ -1342,8 +1340,7 @@ var Collection = openerp.web.Class.extend(/** @lends Collection# */{
* @constructs Collection
* @extends openerp.web.Class
*
* @borrows Events#bind as this.bind
* @borrows Events#trigger as this.trigger
* @mixes Events
* @param {Array} [records] records to initialize the collection with
* @param {Object} [options]
*/