diff options
| author | niv-openerp <nicolas.vanhoren@openerp.com> | 2013-03-05 10:46:26 +0100 |
|---|---|---|
| committer | niv-openerp <nicolas.vanhoren@openerp.com> | 2013-03-05 10:46:26 +0100 |
| commit | e7f044f8fb342e03913eb6214356fd0c8990aae3 (patch) | |
| tree | a7c661986496f8b2ef79d00f0230e903adbe288f /addons/web/static/src | |
| parent | b46c9dae1b3c73077d7f518fb212245a47544fbf (diff) | |
[IMP] minor improvement to documentation
bzr revid: nicolas.vanhoren@openerp.com-20130305094626-o90y0s7c1odnj4n8
Diffstat (limited to 'addons/web/static/src')
| -rw-r--r-- | addons/web/static/src/js/corelib.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/addons/web/static/src/js/corelib.js b/addons/web/static/src/js/corelib.js index 63e22672bd7..90a0eb0a5a0 100644 --- a/addons/web/static/src/js/corelib.js +++ b/addons/web/static/src/js/corelib.js @@ -697,10 +697,10 @@ instance.web.Widget = instance.web.Controller.extend({ * Method called after rendering. Mostly used to bind actions, perform asynchronous * calls, etc... * - * By convention, the method should return a promise to inform the caller when - * this widget has been initialized. + * By convention, this method should return an object that can be passed to $.when() + * to inform the caller when this widget has been initialized. * - * @returns {jQuery.Deferred} + * @returns {jQuery.Deferred or any} */ start: function() { return $.when(); |
