diff options
author | Morris Jobke <hey@morrisjobke.de> | 2018-10-25 15:49:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-25 15:49:27 +0200 |
commit | 0a2476fcb3823864bceb116d79d48a8278ea4981 (patch) | |
tree | ce61bc3b9a2a659eeeee60f274cc7728f2803bf1 /core/js/js.js | |
parent | 116268a2b594938b9adec2ee65ef4b0391327630 (diff) | |
parent | b09f7ad822835cdf795a444ba856ae8097f51cc8 (diff) | |
download | nextcloud-server-0a2476fcb3823864bceb116d79d48a8278ea4981.tar.gz nextcloud-server-0a2476fcb3823864bceb116d79d48a8278ea4981.zip |
Merge pull request #11988 from nextcloud/docs/jsdoc-build
JSdoc build fixes and move build script out of the root folder
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 880b986e17b..fd6e0a68da5 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' @@ -1101,7 +1104,8 @@ OC.Notification={ getDefaultNotificationFunction: null, /** - * @type Array.<int> array of notification timers + * @type Array<int> + * @description array of notification timers */ notificationTimers: [], |