diff options
author | Julius Härtl <jus@bitgrid.net> | 2018-10-24 16:24:16 +0200 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2018-10-24 16:24:16 +0200 |
commit | d14434fa2e6061e2e8632d9f8957e46f715b8de1 (patch) | |
tree | e203bf8b46eb7cdca0d5fa589c378d1fffe6d28c /core/js/js.js | |
parent | 5d888984a0db8dfc04be8b398e75f04f6894fa32 (diff) | |
download | nextcloud-server-d14434fa2e6061e2e8632d9f8957e46f715b8de1.tar.gz nextcloud-server-d14434fa2e6061e2e8632d9f8957e46f715b8de1.zip |
Adjust some jsdocs
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'core/js/js.js')
-rw-r--r-- | core/js/js.js | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/core/js/js.js b/core/js/js.js index 12c47d546c1..54c2dc5efa2 100644 --- a/core/js/js.js +++ b/core/js/js.js @@ -38,8 +38,11 @@ function escapeHTML(s) { return s.toString().split('&').join('&').split('<').join('<').split('>').join('>').split('"').join('"').split('\'').join('''); } -/** @namespace */ +/** @namespace OCP */ var OCP = {}, + /** + * @namespace OC + */ OC = { PERMISSION_NONE:0, PERMISSION_CREATE:4, @@ -659,7 +662,7 @@ var OCP = {}, registerMenu: function($toggle, $menuEl, toggle, headerMenu) { var self = this; $menuEl.addClass('menu'); - + // On link, the enter key trigger a click event // Only use the click to avoid two fired events $toggle.on($toggle.prop('tagName') === 'A' @@ -1091,7 +1094,8 @@ OC.Notification={ getDefaultNotificationFunction: null, /** - * @type Array.<int> array of notification timers + * @type Array<int> + * @description array of notification timers */ notificationTimers: [], |