-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
9 additions
and
54 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,15 +10,5 @@ | |
<app-bysquare></app-bysquare> | ||
</body> | ||
|
||
<script type="importmap"> | ||
{ | ||
"imports": { | ||
"qrcanvas": "https://esm.sh/[email protected]/", | ||
"bysquare": "https://esm.sh/[email protected]/", | ||
"lit": "https://esm.sh/[email protected]/" | ||
} | ||
} | ||
</script> | ||
|
||
<script type="module" src="index.js"></script> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
// @ts-check | ||
import { CurrencyCode, encode, PaymentOptions } from "bysquare"; | ||
import { html, LitElement } from "lit"; | ||
import { qrcanvas } from "qrcanvas"; | ||
import { CurrencyCode, encode, PaymentOptions } from "https://esm.sh/[email protected]/"; | ||
import { html, LitElement } from "https://esm.sh/[email protected]/"; | ||
import { qrcanvas } from "https://esm.sh/[email protected]/"; | ||
|
||
/** | ||
* @extends {LitElement} | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,14 +10,5 @@ | |
<div id="app"></div> | ||
</body> | ||
|
||
<script type="importmap"> | ||
{ | ||
"imports": { | ||
"qrcanvas": "https://esm.sh/[email protected]/", | ||
"bysquare": "https://esm.sh/[email protected]/", | ||
"preact": "https://esm.sh/preact" | ||
} | ||
} | ||
</script> | ||
<script type="module" src="index.js"></script> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
// @ts-check | ||
import { CurrencyCode, encode, PaymentOptions } from "bysquare"; | ||
import { Component, createRef, h, render } from "preact"; | ||
import { qrcanvas } from "qrcanvas"; | ||
import { CurrencyCode, encode, PaymentOptions } from "https://esm.sh/[email protected]/"; | ||
import { Component, createRef, h, render } from "https://esm.sh/[email protected]"; | ||
import { qrcanvas } from "https://esm.sh/[email protected]/"; | ||
|
||
/** | ||
* @typedef {Object} State | ||
|
@@ -106,5 +105,4 @@ class App extends Component { | |
}; | ||
} | ||
|
||
// @ts-ignore | ||
render(h(App, null), document.getElementById("app")); |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
#!/bin/sh | ||
|
||
npx esbuild --servedir=./ |