Remove @implements EventListener JS annotation

Adds a link to the MDN documentation page instead.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
This commit is contained in:
Maurício Meneghini Fauth 2022-11-22 15:52:57 -03:00
parent 3bf23620ae
commit 45f3552fb3
No known key found for this signature in database
GPG Key ID: 6A16FD38AFC89CC8
4 changed files with 19 additions and 19 deletions

View File

@ -397,7 +397,7 @@ const escapeHtml = (value = '') => {
return element.innerHTML;
};
Functions.escapeHtml = escapeHtml
Functions.escapeHtml = escapeHtml;
/**
* JavaScript escaping
@ -3722,7 +3722,7 @@ Functions.getAutoSubmitEventHandler = function () {
};
/**
* @implements EventListener
* @see https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener
*/
const PrintPage = {
handleEvent: () => {

View File

@ -1,7 +1,7 @@
import $ from 'jquery';
/**
* @implements EventListener
* @see https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener
*/
export const ThemesManager = {
handleEvent: () => {

View File

@ -3,7 +3,7 @@ import $ from 'jquery';
/* global Navigation */
/**
* @implements EventListener
* @see https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener
*/
const DropDatabases = {
/**
@ -79,7 +79,7 @@ const DropDatabases = {
};
/**
* @implements EventListener
* @see https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener
*/
const CreateDatabase = {
/**

View File

@ -30,7 +30,7 @@ function exportPrivilegesModalHandler (data, msgbox) {
}
/**
* @implements EventListener
* @see https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener
*/
const EditUserGroup = {
/**
@ -88,7 +88,7 @@ const EditUserGroup = {
};
/**
* @implements EventListener
* @see https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener
*/
const AccountLocking = {
handleEvent: function () {
@ -130,7 +130,7 @@ const AccountLocking = {
/**
* Display a warning if there is already a user by the name entered as the username.
*
* @implements EventListener
* @see https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener
*/
const AddUserLoginCheckUsername = {
handleEvent: function () {
@ -160,7 +160,7 @@ const AddUserLoginCheckUsername = {
/**
* Indicating password strength
*
* @implements EventListener
* @see https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener
*/
const PasswordStrength = {
handleEvent: function () {
@ -175,7 +175,7 @@ const PasswordStrength = {
/**
* Automatically switching to 'Use Text field' from 'No password' once start writing in text area
*
* @implements EventListener
* @see https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener
*/
const SwitchToUseTextField = {
handleEvent: function () {
@ -186,7 +186,7 @@ const SwitchToUseTextField = {
};
/**
* @implements EventListener
* @see https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener
*/
const ChangePasswordStrength = {
handleEvent: function () {
@ -199,7 +199,7 @@ const ChangePasswordStrength = {
/**
* Display a notice if sha256_password is selected
*
* @implements EventListener
* @see https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener
*/
const ShowSha256PasswordNotice = {
handleEvent: function () {
@ -213,7 +213,7 @@ const ShowSha256PasswordNotice = {
};
/**
* @implements EventListener
* @see https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener
*/
const RevokeUser = {
/**
@ -281,7 +281,7 @@ const RevokeUser = {
};
/**
* @implements EventListener
* @see https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener
*/
const ExportPrivileges = {
/**
@ -307,7 +307,7 @@ const ExportPrivileges = {
};
/**
* @implements EventListener
* @see https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener
*/
const ExportUser = {
/**
@ -323,7 +323,7 @@ const ExportUser = {
};
/**
* @implements EventListener
* @see https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener
*/
const SslTypeToggle = {
handleEvent: function () {
@ -337,7 +337,7 @@ const SslTypeToggle = {
};
/**
* @implements EventListener
* @see https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener
*/
const SslPrivilegeToggle = {
handleEvent: function () {
@ -416,7 +416,7 @@ function addOrUpdateSubmenu () {
}
/**
* @implements EventListener
* @see https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener
*/
const SelectAllPrivileges = {
/**
@ -439,7 +439,7 @@ function setMaxWidth () {
/**
* Validates the "add a user" form
*
* @implements EventListener
* @see https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener
*/
const CheckAddUser = {
handleEvent: function () {