diff options
| author | Xavier Morel <xmo@openerp.com> | 2011-09-12 14:38:52 +0200 |
|---|---|---|
| committer | Xavier Morel <xmo@openerp.com> | 2011-09-12 14:38:52 +0200 |
| commit | 3b98700d9d17f5b4a9da6b9110fa962bae33148d (patch) | |
| tree | 2f9df25994425d1871548c57bd2074406bc090d6 /addons/web/static/src/js/list.js | |
| parent | 127364adcaad400aeba08e611975f51489d537ee (diff) | |
[FIX] documentation of private Events mixin in ListView
bzr revid: xmo@openerp.com-20110912123852-vj9u9n15l44t3wo0
Diffstat (limited to 'addons/web/static/src/js/list.js')
| -rw-r--r-- | addons/web/static/src/js/list.js | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/addons/web/static/src/js/list.js b/addons/web/static/src/js/list.js index 7ee762e06e5..ac5f947ff9a 100644 --- a/addons/web/static/src/js/list.js +++ b/addons/web/static/src/js/list.js @@ -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] */ |
