diff options
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: [], |