Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Signature Frontend
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
digital blueprint
Electronic Signature Service
Signature Frontend
Commits
722933e3
Unverified
Commit
722933e3
authored
4 years ago
by
Bekerle, Patrizio
Browse files
Options
Downloads
Patches
Plain Diff
Fix linting warnings
parent
0f88ce86
No related branches found
No related tags found
No related merge requests found
Pipeline
#47848
failed
4 years ago
Stage: test
Stage: deploy
Stage: e2e
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/dbp-signature-lit-element.js
+1
-3
1 addition, 3 deletions
src/dbp-signature-lit-element.js
src/ext-sign-iframe.js
+2
-2
2 additions, 2 deletions
src/ext-sign-iframe.js
src/utils.js
+1
-1
1 addition, 1 deletion
src/utils.js
with
4 additions
and
6 deletions
src/dbp-signature-lit-element.js
+
1
−
3
View file @
722933e3
...
...
@@ -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
);
...
...
This diff is collapsed.
Click to expand it.
src/ext-sign-iframe.js
+
2
−
2
View file @
722933e3
...
...
@@ -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
)
{
...
...
This diff is collapsed.
Click to expand it.
src/utils.js
+
1
−
1
View file @
722933e3
...
...
@@ -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
();
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment