diff options
Diffstat (limited to 'addons/web/static/src/js/corelib.js')
| -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(); |
