Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Toolkit
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
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
Web Component Framework
Toolkit
Commits
c46fef42
Commit
c46fef42
authored
3 years ago
by
Reiter, Christoph
Browse files
Options
Downloads
Patches
Plain Diff
Make the linter happy
parent
b6f373f0
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#50922
passed
3 years ago
Stage: test
Stage: deploy
Stage: e2e
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
packages/file-handling/src/clipboard.js
+5
-5
5 additions, 5 deletions
packages/file-handling/src/clipboard.js
with
5 additions
and
5 deletions
packages/file-handling/src/clipboard.js
+
5
−
5
View file @
c46fef42
...
@@ -266,7 +266,7 @@ export class Clipboard extends ScopedElementsMixin(AdapterLitElement) {
...
@@ -266,7 +266,7 @@ export class Clipboard extends ScopedElementsMixin(AdapterLitElement) {
* Checks if all files are already selected
* Checks if all files are already selected
* Returns true if all files are selected
* Returns true if all files are selected
*
*
* @return
B
oolean
* @return
s {b
oolean
}
*/
*/
checkAllSelected
()
{
checkAllSelected
()
{
if
(
this
.
tabulatorTable
)
{
if
(
this
.
tabulatorTable
)
{
...
@@ -284,7 +284,7 @@ export class Clipboard extends ScopedElementsMixin(AdapterLitElement) {
...
@@ -284,7 +284,7 @@ export class Clipboard extends ScopedElementsMixin(AdapterLitElement) {
* Check mime type of a file, returns true if this.allowedMimeTypes contains the mime type of the file
* Check mime type of a file, returns true if this.allowedMimeTypes contains the mime type of the file
*
*
* @param file
* @param file
* @return
B
oolean
* @return
s {b
oolean
}
*/
*/
checkFileType
(
file
)
{
checkFileType
(
file
)
{
// check if file is allowed
// check if file is allowed
...
@@ -523,7 +523,7 @@ export class Clipboard extends ScopedElementsMixin(AdapterLitElement) {
...
@@ -523,7 +523,7 @@ export class Clipboard extends ScopedElementsMixin(AdapterLitElement) {
* If this.mode === MODE_FILE_SINK or MODE_FILE_SOURCE then there are only delete and save files buttons available
* If this.mode === MODE_FILE_SINK or MODE_FILE_SOURCE then there are only delete and save files buttons available
* Else there are the add, delete and save files buttons available
* Else there are the add, delete and save files buttons available
*
*
* @return
html
* @return
s {
html
}
*/
*/
getAdditionalButtons
()
{
getAdditionalButtons
()
{
let
buttonsAreDisabled
=
this
.
clipboardFiles
.
files
.
length
===
0
?
true
:
this
.
clipboardSelectBtnDisabled
;
let
buttonsAreDisabled
=
this
.
clipboardFiles
.
files
.
length
===
0
?
true
:
this
.
clipboardSelectBtnDisabled
;
...
@@ -587,7 +587,7 @@ export class Clipboard extends ScopedElementsMixin(AdapterLitElement) {
...
@@ -587,7 +587,7 @@ export class Clipboard extends ScopedElementsMixin(AdapterLitElement) {
/**
/**
* Get the clipboard sink html
* Get the clipboard sink html
*
*
* @return
html
* @return
s {
html
}
*/
*/
getClipboardSink
()
{
getClipboardSink
()
{
const
tabulatorCss
=
commonUtils
.
getAssetURL
(
pkgName
,
'
tabulator-tables/css/tabulator.min.css
'
);
const
tabulatorCss
=
commonUtils
.
getAssetURL
(
pkgName
,
'
tabulator-tables/css/tabulator.min.css
'
);
...
@@ -620,7 +620,7 @@ export class Clipboard extends ScopedElementsMixin(AdapterLitElement) {
...
@@ -620,7 +620,7 @@ export class Clipboard extends ScopedElementsMixin(AdapterLitElement) {
/**
/**
* Get the clipboard source html
* Get the clipboard source html
*
*
* @return
html
* @return
s {
html
}
*/
*/
getClipboardSource
()
{
getClipboardSource
()
{
const
tabulatorCss
=
commonUtils
.
getAssetURL
(
pkgName
,
'
tabulator-tables/css/tabulator.min.css
'
);
const
tabulatorCss
=
commonUtils
.
getAssetURL
(
pkgName
,
'
tabulator-tables/css/tabulator.min.css
'
);
...
...
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