Skip to content

Commit

Permalink
use bare module import in demo
Browse files Browse the repository at this point in the history
  • Loading branch information
treeder authored Sep 22, 2023
1 parent 75029d6 commit 39cfb29
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion components/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@
"lit-element/lit-element.js": "https://cdn.jsdelivr.net/npm/lit-element@3/lit-element.js",
"lit-html": "https://cdn.jsdelivr.net/npm/lit-html@2/lit-html.js",
"lit-html/": "https://cdn.jsdelivr.net/npm/lit-html@2/",
"tslib": "https://cdn.jsdelivr.net/npm/tslib@2/tslib.es6.mjs"
"tslib": "https://cdn.jsdelivr.net/npm/tslib@2/tslib.es6.mjs",
"zxinger": "https://cdn.jsdelivr.net/gh/chainparency/zxinger@0/index.js"
}
}
</script>
Expand Down
2 changes: 1 addition & 1 deletion components/zxinger-scanner.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { html, css, LitElement } from 'lit'
import { BrowserMultiFormatReader } from 'https://cdn.jsdelivr.net/gh/chainparency/zxinger@0/index.js'
import { BrowserMultiFormatReader } from 'zxinger'

export class ZXingerScanner extends LitElement {

Expand Down

0 comments on commit 39cfb29

Please sign in to comment.