Skip to content

Commit

Permalink
No commit message
Browse files Browse the repository at this point in the history
  • Loading branch information
NikolaRHristov committed Jan 16, 2025
1 parent 8017090 commit 66b7761
Show file tree
Hide file tree
Showing 4 changed files with 27 additions and 4 deletions.
24 changes: 23 additions & 1 deletion Source/Function/Commit/Layout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,29 @@ const UUID = _UUID();
---

<commit-table data-uuid={UUID}>

<table>
<thead>
<tr>
<th>Commit</th>
<th>Author</th>
<th>Date</th>
<th>Message</th>
</tr>
</thead>
<tbody>
<tr>
<td>1</td>
<td>2</td>
<td>3</td>
<td>4</td>
</tr>
</tbody>
</table>
</commit-table>

<script>
import DataTable from "datatables.net-dt";
import $ from "jquery";
import jszip from "jszip";
import pdfmake from "pdfmake";

Expand All @@ -35,10 +53,14 @@ const UUID = _UUID();
class Commit extends HTMLDivElement {
connectedCallback() {
const UUID = this.dataset["uuid"];

console.log(UUID);
}
}

customElements.define("commit-table", Commit, {
extends: "div",
});


</script>
2 changes: 1 addition & 1 deletion jsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"noEmit": true,
"outDir": "Target",
"rootDir": ".",
"types": ["astro/client", "astro/env"]
"types": ["astro/client", "astro/env", "jquery"]
},
"extends": "@playform/build/jsconfig",
"include": ["Source"]
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@
},
"devDependencies": {
"@astrojs/ts-plugin": "1.10.4",
"@octokit/types": "13.7.0"
"@octokit/types": "13.7.0",
"@types/jquery": "^3.5.32"
},
"publishConfig": {
"access": "restricted",
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"noEmit": true,
"outDir": "Target",
"rootDir": ".",
"types": ["astro/client", "astro/env"],
"types": ["astro/client", "astro/env", "jquery", "datatables.net-dt"],
"plugins": [
{
"name": "@astrojs/ts-plugin"
Expand Down

0 comments on commit 66b7761

Please sign in to comment.