Skip to content

Commit

Permalink
Updates
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuapease committed Feb 2, 2024
1 parent cadbec0 commit 2456ed3
Show file tree
Hide file tree
Showing 6 changed files with 87 additions and 75 deletions.
71 changes: 0 additions & 71 deletions assets/index-158a813d.js

This file was deleted.

71 changes: 71 additions & 0 deletions assets/index-656964dc.js

Large diffs are not rendered by default.

6 changes: 5 additions & 1 deletion button-primary.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,11 @@
}
</style>

<script async src="./content-editable.js"></script>
<!--
On real world projects, this is the same as adding https://unpkg.com/@viget/parts-kit@^0/lib/parts-kit.js on your parts kit pages.
It needs to be present within the iframed pages for keyboard and postMessage events to bubble through the iframe.
-->
<script type="module" src="/src/main.tsx"></script>
</head>
<body>
<div>
Expand Down
6 changes: 5 additions & 1 deletion button-secondary.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,11 @@
}
</style>

<script async src="./content-editable.js"></script>
<!--
On real world projects, this is the same as adding https://unpkg.com/@viget/parts-kit@^0/lib/parts-kit.js on your parts kit pages.
It needs to be present within the iframed pages for keyboard and postMessage events to bubble through the iframe.
-->
<script type="module" src="/src/main.tsx"></script>
</head>
<body>
<div>
Expand Down
6 changes: 5 additions & 1 deletion card.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,11 @@
}
</style>

<script async src="./content-editable.js"></script>
<!--
On real world projects, this is the same as adding https://unpkg.com/@viget/parts-kit@^0/lib/parts-kit.js on your parts kit pages.
It needs to be present within the iframed pages for keyboard and postMessage events to bubble through the iframe.
-->
<script type="module" src="/src/main.tsx"></script>
</head>
<body>
<button class="toggle-content-editable">Edit Text</button>
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<link rel="icon" type="image/svg+xml" href="/parts-kit/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite + Preact + TS</title>
<script type="module" crossorigin src="/parts-kit/assets/index-158a813d.js"></script>
<script type="module" crossorigin src="/parts-kit/assets/index-656964dc.js"></script>
</head>
<body>
<parts-kit></parts-kit>
Expand Down

0 comments on commit 2456ed3

Please sign in to comment.