Skip to content

Commit 357888a

Browse files
committed
comments to modify
1 parent ae9855c commit 357888a

File tree

6 files changed

+9
-9
lines changed

6 files changed

+9
-9
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,20 +28,20 @@ <h1 style="font-size: 1.5em;">Read Barcodes from a Camera</h1>
2828

2929
/* When using your own license, uncomment the following line and specify your license. */
3030

31-
// Dynamsoft.DBR.BarcodeReader.license = "YOUR-ORGANIZATION-ID or YOUR-HANDSHAKECODE or AN-OFFLINE-LICENSE or ANY-OTHER-TYPE-OF-SUPPORTED-LICENSE-STRING";
31+
// BarcodeReader.license = "YOUR-ORGANIZATION-ID or YOUR-HANDSHAKECODE or AN-OFFLINE-LICENSE or ANY-OTHER-TYPE-OF-SUPPORTED-LICENSE-STRING";
3232

3333
/** LICENSE ALERT - THE END */
34-
import { BarcodeRender, BarcodeScanner } from 'https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@8.8.7/dist/dbr.mjs';
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";
3737

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

4040

4141
let pScanner = null;
4242
document.getElementById('btn-show-scanner').addEventListener('click', async () => {
4343
try {
44-
const scanner = await (pScanner = pScanner || Dynamsoft.DBR.BarcodeScanner.createInstance());
44+
const scanner = await (pScanner = pScanner || BarcodeScanner.createInstance());
4545
/*
4646
* onFrameRead is triggered after the library finishes reading a frame.
4747
* There can be one or multiple barcodes on each frame.

1.hello-world/3.read-video-angular/src/app/dbr.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { BarcodeReader } from 'dynamsoft-javascript-barcode';
1010

1111
/* When using your own license, uncomment the following line and specify your license. */
1212

13-
// DBR.BarcodeReader.license = "YOUR-ORGANIZATION-ID or YOUR-HANDSHAKECODE or AN-OFFLINE-LICENSE or ANY-OTHER-TYPE-OF-SUPPORTED-LICENSE-STRING";
13+
// BarcodeReader.license = "YOUR-ORGANIZATION-ID or YOUR-HANDSHAKECODE or AN-OFFLINE-LICENSE or ANY-OTHER-TYPE-OF-SUPPORTED-LICENSE-STRING";
1414

1515
/** LICENSE ALERT - THE END */
1616

1.hello-world/5.read-video-vue/src/dbr.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { BarcodeReader } from "dynamsoft-javascript-barcode";
1010

1111
/* When using your own license, uncomment the following line and specify your license. */
1212

13-
// DBR.BarcodeReader.license = "YOUR-ORGANIZATION-ID or YOUR-HANDSHAKECODE or AN-OFFLINE-LICENSE or ANY-OTHER-TYPE-OF-SUPPORTED-LICENSE-STRING";
13+
// BarcodeReader.license = "YOUR-ORGANIZATION-ID or YOUR-HANDSHAKECODE or AN-OFFLINE-LICENSE or ANY-OTHER-TYPE-OF-SUPPORTED-LICENSE-STRING";
1414

1515
/** LICENSE ALERT - THE END */
1616

1.hello-world/6.read-video-vue3/src/dbr.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { BarcodeReader } from "dynamsoft-javascript-barcode";
1010

1111
/* When using your own license, uncomment the following line and specify your license. */
1212

13-
// DBR.BarcodeReader.license = "YOUR-ORGANIZATION-ID or YOUR-HANDSHAKECODE or AN-OFFLINE-LICENSE or ANY-OTHER-TYPE-OF-SUPPORTED-LICENSE-STRING";
13+
// BarcodeReader.license = "YOUR-ORGANIZATION-ID or YOUR-HANDSHAKECODE or AN-OFFLINE-LICENSE or ANY-OTHER-TYPE-OF-SUPPORTED-LICENSE-STRING";
1414

1515
/** LICENSE ALERT - THE END */
1616

1.hello-world/7.read-video-nextjs/dbr.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { BarcodeReader } from "dynamsoft-javascript-barcode";
1010

1111
/* When using your own license, uncomment the following line and specify your license. */
1212

13-
// DBR.BarcodeReader.license = "YOUR-ORGANIZATION-ID or YOUR-HANDSHAKECODE or AN-OFFLINE-LICENSE or ANY-OTHER-TYPE-OF-SUPPORTED-LICENSE-STRING";
13+
// BarcodeReader.license = "YOUR-ORGANIZATION-ID or YOUR-HANDSHAKECODE or AN-OFFLINE-LICENSE or ANY-OTHER-TYPE-OF-SUPPORTED-LICENSE-STRING";
1414

1515
/** LICENSE ALERT - THE END */
1616

1.hello-world/8.read-video-nuxtjs/dbr.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ import { BarcodeReader } from "dynamsoft-javascript-barcode";
1010

1111
/* When using your own license, uncomment the following line and specify your license. */
1212

13-
// DBR.BarcodeReader.license = "YOUR-ORGANIZATION-ID or YOUR-HANDSHAKECODE or AN-OFFLINE-LICENSE or ANY-OTHER-TYPE-OF-SUPPORTED-LICENSE-STRING";
13+
// BarcodeReader.license = "YOUR-ORGANIZATION-ID or YOUR-HANDSHAKECODE or AN-OFFLINE-LICENSE or ANY-OTHER-TYPE-OF-SUPPORTED-LICENSE-STRING";
1414

1515
/** LICENSE ALERT - THE END */
1616

0 commit comments

Comments
 (0)