Skip to content

Commit 7991b5b

Browse files
committed
Apply linter and formatter once.
1 parent e52b158 commit 7991b5b

File tree

7 files changed

+244
-254
lines changed

7 files changed

+244
-254
lines changed

index.html

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
11
<!DOCTYPE html>
22
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7+
<script type="module" src="/src/main.ts"></script>
8+
<title>Web component test</title>
9+
</head>
310

4-
<head>
5-
<meta charset="UTF-8">
6-
<meta http-equiv="X-UA-Compatible" content="IE=edge">
7-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
8-
<script type="module" src="/src/main.ts"></script>
9-
<title>Web component test</title>
10-
</head>
11-
12-
<body>
13-
<mapping-input></mapping-input>
14-
</body>
15-
16-
</html>
11+
<body>
12+
<mapping-input></mapping-input>
13+
</body>
14+
</html>

src/app.js

Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,13 @@ import { Dropzone } from "dropzone";
22
import "dropzone/dist/dropzone.css";
33
import "./style.css";
44

5-
const myDropzone = new Dropzone("#my-form",
6-
{
7-
dictDefaultMessage: "Choose your file",
8-
maxFiles: 1,
9-
autoProcessQueue: false,
10-
paramName: "document",
11-
highlight: true
12-
}
13-
);
5+
const myDropzone = new Dropzone("#my-form", {
6+
dictDefaultMessage: "Choose your file",
7+
maxFiles: 1,
8+
autoProcessQueue: false,
9+
paramName: "document",
10+
highlight: true,
11+
});
1412

1513
const output = document.querySelector("#output");
1614

@@ -19,8 +17,8 @@ myDropzone.on("addedfile", (file) => {
1917
output.innerHTML += `<div>File added: ${file.name}</div>`;
2018
});
2119

22-
import typeahead from 'typeahead-standalone'; // imports library (js)
23-
import 'typeahead-standalone/dist/basic.css'; // imports basic styles (css)
20+
import typeahead from "typeahead-standalone"; // imports library (js)
21+
import "typeahead-standalone/dist/basic.css"; // imports basic styles (css)
2422

2523
// input element to attach to
2624
const inputElement = document.getElementById("searchInput");
@@ -30,9 +28,8 @@ typeahead({
3028
minLength: -1,
3129
source: {
3230
prefetch: {
33-
url: 'http://localhost:8095/api/v1/mappingAdministration/'
31+
url: "http://localhost:8095/api/v1/mappingAdministration/",
3432
},
35-
identifier: "mappingId"
36-
}
33+
identifier: "mappingId",
34+
},
3735
});
38-

0 commit comments

Comments
 (0)