From e7f044f8fb342e03913eb6214356fd0c8990aae3 Mon Sep 17 00:00:00 2001 From: niv-openerp Date: Tue, 5 Mar 2013 10:46:26 +0100 Subject: [PATCH] [IMP] minor improvement to documentation bzr revid: nicolas.vanhoren@openerp.com-20130305094626-o90y0s7c1odnj4n8 --- addons/web/static/src/js/corelib.js | 6 +++--- 1 file 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();