Skip to content

Commit f753475

Browse files
committed
better wording for license alert
1 parent 606264e commit f753475

File tree

16 files changed

+32
-8
lines changed

16 files changed

+32
-8
lines changed

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

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ <h1 style="font-size: 1.5em;">Read Barcodes from a Camera</h1>
1515
<button id="btn-show-scanner">Show Barcode Scanner</button>
1616
<script>
1717
/** LICENSE ALERT - README
18+
*
1819
* The library requires a license to work.
1920
* If the license is not specified, a free public trial license will be used by default which is the case in this sample.
2021
* Note that network connection is required for the public license to work.
@@ -25,10 +26,7 @@ <h1 style="font-size: 1.5em;">Read Barcodes from a Camera</h1>
2526

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

28-
29-
30-
31-
29+
/** LICENSE ALERT - THE END */
3230

3331
let pScanner = null;
3432
document.getElementById('btn-show-scanner').onclick = async function() {

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ <h1 style="font-size: 1.5em;">Hello World for PWA</h1>
1616
<button id='readBarcode'>Read Barcode via Camera</button>
1717
<script>
1818
/** LICENSE ALERT - README
19+
*
1920
* The library requires a license to work.
2021
* If the license is not specified, a free public trial license will be used by default which is the case in this sample.
2122
* Note that network connection is required for the public license to work.
@@ -25,6 +26,8 @@ <h1 style="font-size: 1.5em;">Hello World for PWA</h1>
2526
/* When using your own license, uncomment the following line and specify your license. */
2627

2728
// Dynamsoft.DBR.BarcodeReader.license = "YOUR-ORGANIZATION-ID or YOUR-HANDSHAKECODE or AN-OFFLINE-LICENSE or ANY-OTHER-TYPE-OF-SUPPORTED-LICENSE-STRING";
29+
30+
/** LICENSE ALERT - THE END */
2831

2932
let pScanner = null;
3033
let latestResult = null;

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ <h1 style="font-size: 1.5em;">Hello World for RequireJS</h1>
1919
BarcodeScanner
2020
}) {
2121
/** LICENSE ALERT - README
22+
*
2223
* The library requires a license to work.
2324
* If the license is not specified, a free public trial license will be used by default which is the case in this sample.
2425
* Note that network connection is required for the public license to work.
@@ -28,6 +29,8 @@ <h1 style="font-size: 1.5em;">Hello World for RequireJS</h1>
2829
/* When using your own license, uncomment the following line and specify your license. */
2930

3031
// BarcodeReader.license = "YOUR-ORGANIZATION-ID or YOUR-HANDSHAKECODE or AN-OFFLINE-LICENSE or ANY-OTHER-TYPE-OF-SUPPORTED-LICENSE-STRING";
32+
33+
/** LICENSE ALERT - THE END */
3134

3235
BarcodeReader.engineResourcePath = "https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@8.8.7/dist/";
3336
let pScanner = null;

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,21 +25,21 @@ <h1 style="font-size: 1.5em;">Read Barcode from Images</h1>
2525
</div>
2626
<script>
2727
/** LICENSE ALERT - README
28+
*
2829
* The library requires a license to work.
2930
* If the license is not specified, a free public trial license will be used by default which is the case in this sample.
3031
* Note that network connection is required for the public license to work.
3132
* For more info, please check https://www.dynamsoft.com/barcode-reader/programming/javascript/user-guide/?ver=8.8.7&utm_source=github#specify-the-license or contact support@dynamsoft.com.
3233
*/
3334

3435
/* When using your own license, uncomment the following line and specify your license. */
35-
36-
// Dynamsoft.DBR.BarcodeReader.license = "YOUR-ORGANIZATION-ID or YOUR-HANDSHAKECODE or AN-OFFLINE-LICENSE or ANY-OTHER-TYPE-OF-SUPPORTED-LICENSE-STRING";
37-
3836

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

39+
/** LICENSE ALERT - THE END */
4040

4141
// Load the library on page load to speed things up.
42-
(async()=>{
42+
(async() => {
4343
try {
4444
await Dynamsoft.DBR.BarcodeReader.loadWasm();
4545
document.getElementById('lib-load').style.display = 'none';

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import DBR from "dynamsoft-javascript-barcode";
22

33
/** LICENSE ALERT - README
4+
*
45
* The library requires a license to work.
56
* If the license is not specified, a free public trial license will be used by default which is the case in this sample.
67
* Note that network connection is required for the public license to work.
@@ -11,6 +12,8 @@ import DBR from "dynamsoft-javascript-barcode";
1112

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

15+
/** LICENSE ALERT - THE END */
16+
1417
DBR.BarcodeReader.engineResourcePath = "https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@8.8.7/dist/";
1518

1619
export default DBR;

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import DBR from "dynamsoft-javascript-barcode";
22

33
/** LICENSE ALERT - README
4+
*
45
* The library requires a license to work.
56
* If the license is not specified, a free public trial license will be used by default which is the case in this sample.
67
* Note that network connection is required for the public license to work.
@@ -11,6 +12,8 @@ import DBR from "dynamsoft-javascript-barcode";
1112

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

15+
/** LICENSE ALERT - THE END */
16+
1417
DBR.BarcodeReader.engineResourcePath = "https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@8.8.7/dist/";
1518

1619
export default DBR;

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import DBR from "dynamsoft-javascript-barcode";
22

33
/** LICENSE ALERT - README
4+
*
45
* The library requires a license to work.
56
* If the license is not specified, a free public trial license will be used by default which is the case in this sample.
67
* Note that network connection is required for the public license to work.
@@ -11,6 +12,8 @@ import DBR from "dynamsoft-javascript-barcode";
1112

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

15+
/** LICENSE ALERT - THE END */
16+
1417
DBR.BarcodeReader.engineResourcePath = "https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@8.8.7/dist/";
1518

1619
export default DBR;

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
import DBR from "dynamsoft-javascript-barcode";
22

33
/** LICENSE ALERT - README
4+
*
45
* The library requires a license to work.
56
* If the license is not specified, a free public trial license will be used by default which is the case in this sample.
67
* Note that network connection is required for the public license to work.
@@ -11,6 +12,8 @@ import DBR from "dynamsoft-javascript-barcode";
1112

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

15+
/** LICENSE ALERT - THE END */
16+
1417
DBR.BarcodeReader.engineResourcePath = "https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@8.8.7/dist/";
1518

1619
export default DBR;

2.ui-tweaking/1.read-video-show-result.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ <h1 style="font-size: 1.5em;">Use the Default Built-in UI</h1>
2828
</div>
2929
<script>
3030
/** LICENSE ALERT - README
31+
*
3132
* The library requires a license to work.
3233
* If the license is not specified, a free public trial license will be used by default which is the case in this sample.
3334
* Note that network connection is required for the public license to work.

2.ui-tweaking/2.read-video-no-extra-control.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ <h1 style="font-size: 1.5em;">Hide UI Controllers</h1>
2323
</div>
2424
<script>
2525
/** LICENSE ALERT - README
26+
*
2627
* The library requires a license to work.
2728
* If the license is not specified, a free public trial license will be used by default which is the case in this sample.
2829
* Note that network connection is required for the public license to work.

0 commit comments

Comments
 (0)