From e3fd96fa8ef2aa5b5fd3881e75b95c7a869895fa Mon Sep 17 00:00:00 2001 From: Arthur Schiwon Date: Tue, 18 Aug 2015 13:04:02 +0200 Subject: improve doc --- core/js/share.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'core/js') diff --git a/core/js/share.js b/core/js/share.js index 8d25749a107..84da511497e 100644 --- a/core/js/share.js +++ b/core/js/share.js @@ -293,7 +293,9 @@ OC.Share = _.extend(OC.Share, { * * @param itemType * @param itemSource - * @param callback + * @param callback - optional. If a callback is given this method works + * asynchronous and the callback will be provided with data when the request + * is done. * @returns {OC.Share.Types.ShareInfo} */ loadItem:function(itemType, itemSource, callback) { -- cgit v1.2.3