From 722933e3ad5230b63402f62cba88d38cdb112200 Mon Sep 17 00:00:00 2001 From: Patrizio Bekerle <patrizio@bekerle.com> Date: Wed, 23 Jun 2021 16:04:40 +0200 Subject: [PATCH] Fix linting warnings --- src/dbp-signature-lit-element.js | 4 +--- src/ext-sign-iframe.js | 4 ++-- src/utils.js | 2 +- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/src/dbp-signature-lit-element.js b/src/dbp-signature-lit-element.js index 46d10b3..2fc408d 100644 --- a/src/dbp-signature-lit-element.js +++ b/src/dbp-signature-lit-element.js @@ -54,10 +54,8 @@ export default class DBPSignatureLitElement extends BaseLitElement { } /** - * * @param {*} key * @param {*} name - * @returns shows PdfAnnotationView */ async showAnnotationView(key, name) { @@ -206,7 +204,7 @@ export default class DBPSignatureLitElement extends BaseLitElement { * Checks if annotations are enabled for an annotation key * * @param key - * @returns {boolean} + * @returns {boolean} true if annotations are enabled for annotation key */ isAnnotationsEnabledForKey(key) { return this.queuedFilesEnabledAnnotations.includes(key); diff --git a/src/ext-sign-iframe.js b/src/ext-sign-iframe.js index 62b5e61..8fa77ba 100644 --- a/src/ext-sign-iframe.js +++ b/src/ext-sign-iframe.js @@ -7,8 +7,8 @@ import {ScopedElementsMixin} from '@open-wc/scoped-elements'; * Set the URL via setUrl(), reset via reset(). * * Emits two custom events: - * * signature-error with a "message" - * * signature-done with an "id" + * signature-error with a "message" + * signature-done with an "id" */ export class ExternalSignIFrame extends ScopedElementsMixin(LitElement) { diff --git a/src/utils.js b/src/utils.js index 16dc508..890062d 100644 --- a/src/utils.js +++ b/src/utils.js @@ -269,7 +269,7 @@ export const getAnnotationTypes = (key = null) => { * * @param selectedKey * @param lang - * * @returns {*[]} Array of html templates + * @returns {*[]} Array of html templates */ export const getAnnotationTypeSelectOptionsHtml = (selectedKey, lang) => { const annotationTypes = getAnnotationTypes(); -- GitLab