Skip to content

Commit a2633d4

Browse files
committed
use license API instead of orgid etc. in demo branch
1 parent cdffa27 commit a2633d4

File tree

21 files changed

+21
-42
lines changed

21 files changed

+21
-42
lines changed

1.hello-world/1.hello-world.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@
1717
* To use the library, you need to first specify a license key using the API "license" as shown below.
1818
*/
1919

20-
Dynamsoft.DBR.BarcodeReader.organizationID = "200000";
21-
Dynamsoft.DBR.BarcodeReader.handshakeCode = "200000-dbr_js_samples";
20+
Dynamsoft.DBR.BarcodeReader.license = 'DLS2eyJoYW5kc2hha2VDb2RlIjoiMjAwMDAwLWRicl9qc19zYW1wbGVzIiwib3JnYW5pemF0aW9uSUQiOiIyMDAwMDAifQ==';
2221

2322
/**
2423
* You can visit https://www.dynamsoft.com/customer/license/trialLicense?utm_source=github&product=dbr&package=js to get your own trial license good for 30 days.

1.hello-world/10.read-video-pwa/helloworld-pwa.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@ <h1 style="font-size: 1.5em;">Hello World for PWA</h1>
1919
* To use the library, you need to first specify a license key using the API "license" as shown below.
2020
*/
2121

22-
Dynamsoft.DBR.BarcodeReader.organizationID = "200000";
23-
Dynamsoft.DBR.BarcodeReader.handshakeCode = "200000-dbr_js_samples";
22+
Dynamsoft.DBR.BarcodeReader.license = 'DLS2eyJoYW5kc2hha2VDb2RlIjoiMjAwMDAwLWRicl9qc19zYW1wbGVzIiwib3JnYW5pemF0aW9uSUQiOiIyMDAwMDAifQ==';
2423

2524
/**
2625
* You can visit https://www.dynamsoft.com/customer/license/trialLicense?utm_source=github&product=dbr&package=js to get your own trial license good for 30 days.

1.hello-world/11.read-video-requirejs.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,7 @@ <h1 style="font-size: 1.5em;">Hello World for RequireJS</h1>
2121
* To use the library, you need to first specify a license key using the API "license" as shown below.
2222
*/
2323

24-
BarcodeReader.organizationID = "200000";
25-
BarcodeReader.handshakeCode = "200000-dbr_js_samples";
24+
BarcodeReader.license = 'DLS2eyJoYW5kc2hha2VDb2RlIjoiMjAwMDAwLWRicl9qc19zYW1wbGVzIiwib3JnYW5pemF0aW9uSUQiOiIyMDAwMDAifQ==';
2625

2726
/**
2827
* You can visit https://www.dynamsoft.com/customer/license/trialLicense?utm_source=github&product=dbr&package=js to get your own trial license good for 30 days.

1.hello-world/12.read-video-es6.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,7 @@ <h1 style="font-size: 1.5em;">Hello World for ES6</h1>
1818
* To use the library, you need to first specify a license key using the API "license" as shown below.
1919
*/
2020

21-
BarcodeReader.organizationID = "200000";
22-
BarcodeReader.handshakeCode = "200000-dbr_js_samples";
21+
BarcodeReader.license = 'DLS2eyJoYW5kc2hha2VDb2RlIjoiMjAwMDAwLWRicl9qc19zYW1wbGVzIiwib3JnYW5pemF0aW9uSUQiOiIyMDAwMDAifQ==';
2322

2423
/**
2524
* You can visit https://www.dynamsoft.com/customer/license/trialLicense?utm_source=github&product=dbr&package=js to get your own trial license good for 30 days.

1.hello-world/2.read-an-image.html

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,7 @@ <h1 style="font-size: 1.5em;">Read Barcode from Images</h1>
3535
* To use the library, you need to first specify a license key using the API "license" as shown below.
3636
*/
3737

38-
Dynamsoft.DBR.BarcodeReader.organizationID = "200000";
39-
Dynamsoft.DBR.BarcodeReader.handshakeCode = "200000-dbr_js_samples";
38+
Dynamsoft.DBR.BarcodeReader.license = 'DLS2eyJoYW5kc2hha2VDb2RlIjoiMjAwMDAwLWRicl9qc19zYW1wbGVzIiwib3JnYW5pemF0aW9uSUQiOiIyMDAwMDAifQ==';
4039

4140
/**
4241
* You can visit https://www.dynamsoft.com/customer/license/trialLicense?utm_source=github&product=dbr&package=js to get your own trial license good for 30 days.

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ import { BarcodeReader } from 'dynamsoft-javascript-barcode';
44
* To use the library, you need to first specify a license key using the API "license" as shown below.
55
*/
66

7-
BarcodeReader.organizationID = "200000";
8-
BarcodeReader.handshakeCode = "200000-dbr_js_samples";
7+
BarcodeReader.license = 'DLS2eyJoYW5kc2hha2VDb2RlIjoiMjAwMDAwLWRicl9qc19zYW1wbGVzIiwib3JnYW5pemF0aW9uSUQiOiIyMDAwMDAifQ==';
98

109
/**
1110
* You can visit https://www.dynamsoft.com/customer/license/trialLicense?utm_source=github&product=dbr&package=js to get your own trial license good for 30 days.

1.hello-world/4.read-video-react/src/dbr.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ import { BarcodeReader } from "dynamsoft-javascript-barcode";
44
* To use the library, you need to first specify a license key using the API "license" as shown below.
55
*/
66

7-
BarcodeReader.organizationID = "200000";
8-
BarcodeReader.handshakeCode = "200000-dbr_js_samples";
7+
BarcodeReader.license = 'DLS2eyJoYW5kc2hha2VDb2RlIjoiMjAwMDAwLWRicl9qc19zYW1wbGVzIiwib3JnYW5pemF0aW9uSUQiOiIyMDAwMDAifQ==';
98

109
/**
1110
* You can visit https://www.dynamsoft.com/customer/license/trialLicense?utm_source=github&product=dbr&package=js to get your own trial license good for 30 days.

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ import { BarcodeReader } from "dynamsoft-javascript-barcode";
44
* To use the library, you need to first specify a license key using the API "license" as shown below.
55
*/
66

7-
BarcodeReader.organizationID = "200000";
8-
BarcodeReader.handshakeCode = "200000-dbr_js_samples";
7+
BarcodeReader.license = 'DLS2eyJoYW5kc2hha2VDb2RlIjoiMjAwMDAwLWRicl9qc19zYW1wbGVzIiwib3JnYW5pemF0aW9uSUQiOiIyMDAwMDAifQ==';
98

109
/**
1110
* You can visit https://www.dynamsoft.com/customer/license/trialLicense?utm_source=github&product=dbr&package=js to get your own trial license good for 30 days.

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ import { BarcodeReader } from "dynamsoft-javascript-barcode";
44
* To use the library, you need to first specify a license key using the API "license" as shown below.
55
*/
66

7-
BarcodeReader.organizationID = "200000";
8-
BarcodeReader.handshakeCode = "200000-dbr_js_samples";
7+
BarcodeReader.license = 'DLS2eyJoYW5kc2hha2VDb2RlIjoiMjAwMDAwLWRicl9qc19zYW1wbGVzIiwib3JnYW5pemF0aW9uSUQiOiIyMDAwMDAifQ==';
98

109
/**
1110
* You can visit https://www.dynamsoft.com/customer/license/trialLicense?utm_source=github&product=dbr&package=js to get your own trial license good for 30 days.

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ import { BarcodeReader } from "dynamsoft-javascript-barcode";
44
* To use the library, you need to first specify a license key using the API "license" as shown below.
55
*/
66

7-
BarcodeReader.organizationID = "200000";
8-
BarcodeReader.handshakeCode = "200000-dbr_js_samples";
7+
BarcodeReader.license = 'DLS2eyJoYW5kc2hha2VDb2RlIjoiMjAwMDAwLWRicl9qc19zYW1wbGVzIiwib3JnYW5pemF0aW9uSUQiOiIyMDAwMDAifQ==';
98

109
/**
1110
* You can visit https://www.dynamsoft.com/customer/license/trialLicense?utm_source=github&product=dbr&package=js to get your own trial license good for 30 days.

0 commit comments

Comments
 (0)