Skip to content

Commit 0f07be3

Browse files
committed
comments to modify
1 parent 2c7d1a0 commit 0f07be3

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

1.hello-world/13.minimum-code-es6.html

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@
1818
<h1 style="font-size: 1.5em;">Read Barcodes from a Camera</h1>
1919
<button id="btn-show-scanner">Show Barcode Scanner</button>
2020
<script type="module">
21-
/** LICENSE ALERT - README
21+
import { BarcodeReader, BarcodeScanner } from 'https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@8.8.7/dist/dbr.mjs';
22+
/** LICENSE ALERT - README
2223
*
2324
* The library requires a license to work.
2425
* If the license is not specified, a free public trial license will be used by default which is the case in this sample.
@@ -31,12 +32,10 @@ <h1 style="font-size: 1.5em;">Read Barcodes from a Camera</h1>
3132
// BarcodeReader.license = "YOUR-ORGANIZATION-ID or YOUR-HANDSHAKECODE or AN-OFFLINE-LICENSE or ANY-OTHER-TYPE-OF-SUPPORTED-LICENSE-STRING";
3233

3334
/** LICENSE ALERT - THE END */
34-
import { BarcodeReader, BarcodeScanner } from 'https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@8.8.7/dist/dbr.mjs';
3535

3636
// DBR.productKeys = "PRODUCT-KEYS";
37-
38-
BarcodeReader.engineResourcePath = "https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@8.8.7/dist/";
3937

38+
BarcodeReader.engineResourcePath = "https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@8.8.7/dist/";
4039

4140
let pScanner = null;
4241
document.getElementById('btn-show-scanner').addEventListener('click', async () => {

0 commit comments

Comments
 (0)