Skip to content

Commit 1bff658

Browse files
authored
Merge pull request #59 from Keillion/master
7.3.0.4
2 parents 758dc71 + 4c177de commit 1bff658

File tree

84 files changed

+255
-149
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

84 files changed

+255
-149
lines changed

README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ $ npm install dynamsoft-javascript-barcode --save
2525

2626
cdn
2727
```html
28-
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@7.3.0-v3/dist/dbr.js" data-productKeys="PRODUCT-KEYS"></script>
28+
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@7.3.0-v4/dist/dbr.js" data-productKeys="PRODUCT-KEYS"></script>
2929
<!-- or -->
30-
<script src="https://unpkg.com/dynamsoft-javascript-barcode@7.3.0-v3/dist/dbr.js" data-productKeys="PRODUCT-KEYS"></script>
30+
<script src="https://unpkg.com/dynamsoft-javascript-barcode@7.3.0-v4/dist/dbr.js" data-productKeys="PRODUCT-KEYS"></script>
3131
```
3232

3333
[Download zip](https://www.dynamsoft.com/Downloads/Dynamic-Barcode-Reader-Download.aspx?edition=js)
@@ -38,7 +38,7 @@ cdn
3838
<!DOCTYPE html>
3939
<html>
4040
<body>
41-
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@7.3.0-v3/dist/dbr.js" data-productKeys="PRODUCT-KEYS"></script>
41+
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@7.3.0-v4/dist/dbr.js" data-productKeys="PRODUCT-KEYS"></script>
4242
<script>
4343
let scanner = null;
4444
(async()=>{
@@ -207,7 +207,7 @@ Create an HTML file with the following content. Deploy it to your web server if
207207
<html>
208208
<body>
209209
<!-- Please visit https://www.dynamsoft.com/CustomerPortal/Portal/TrialLicense.aspx to get a trial license. -->
210-
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@7.3.0-v3/dist/dbr.js" data-productKeys="PRODUCT-KEYS"></script>
210+
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@7.3.0-v4/dist/dbr.js" data-productKeys="PRODUCT-KEYS"></script>
211211
<script>
212212
let scanner = null;
213213
(async()=>{
@@ -266,13 +266,13 @@ Now, take a look at the sample code. You can find that there is nothing but two
266266
* The following script includes the core library in the application via a [jsDelivr](https://www.jsdelivr.com/) CDN
267267

268268
```javascript
269-
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@7.3.0-v3/dist/dbr.js" data-productKeys="PRODUCT-KEYS"></script>
269+
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@7.3.0-v4/dist/dbr.js" data-productKeys="PRODUCT-KEYS"></script>
270270
```
271271

272272
The same can be done with other CDNs like `unpkg`
273273

274274
```javascript
275-
<script src="https://unpkg.com/dynamsoft-javascript-barcode@7.3.0-v3/dist/dbr.js" data-productKeys="PRODUCT-KEYS"></script>
275+
<script src="https://unpkg.com/dynamsoft-javascript-barcode@7.3.0-v4/dist/dbr.js" data-productKeys="PRODUCT-KEYS"></script>
276276
```
277277

278278
> **NOTE**: : Since we do change the library a bit in each release, to make sure your application doesn't get interrupted by automatic updates, use a specific version in your production environment, as shown above. Using a general major version like `@7` is not recommended.
@@ -419,7 +419,7 @@ The following introduces the 3rd way. Check out the following code on how it's d
419419
<video class="dbrScanner-video" playsinline="true"></video>
420420
</div>
421421
<!-- Please visit https://www.dynamsoft.com/CustomerPortal/Portal/TrialLicense.aspx to get a trial license. -->
422-
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@7.3.0-v3/dist/dbr.js" data-productKeys="PRODUCT-KEYS"></script>
422+
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@7.3.0-v4/dist/dbr.js" data-productKeys="PRODUCT-KEYS"></script>
423423
<script>
424424
let scanner = null;
425425
(async()=>{
@@ -658,7 +658,7 @@ https://www.dynamsoft.com/Products/Dynamic-Barcode-Reader-News.aspx#javascript
658658
* If you are using a CDN, be sure to change the version number in the URL like this
659659

660660
```javascript
661-
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@7.3.0-v3/dist/dbr.js" data-productKeys="PRODUCT-KEYS"></script>
661+
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@7.3.0-v4/dist/dbr.js" data-productKeys="PRODUCT-KEYS"></script>
662662
```
663663

664664
* If you have deployed the library files on your own server, you'll need to replace the old files with the new version. Download the latest version [here](https://www.dynamsoft.com/Downloads/Dynamic-Barcode-Reader-Download.aspx).
@@ -711,7 +711,7 @@ It takes several steps to activate a purchased license, the following steps assu
711711

712712
```html
713713
<!-- Please visit https://www.dynamsoft.com/CustomerPortal/Portal/TrialLicense.aspx to get a trial license. -->
714-
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@7.3.0-v3/dist/dbr.js" data-productKeys="PRODUCT-KEYS"></script>
714+
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@7.3.0-v4/dist/dbr.js" data-productKeys="PRODUCT-KEYS"></script>
715715
```
716716

717717
To use your activated key, you simply need to replace `PRODUCT-KEYS` with it.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ function kb() {
352352
var a = lb;
353353
return String.prototype.startsWith ? a.startsWith("data:application/octet-stream;base64,") : 0 === a.indexOf("data:application/octet-stream;base64,");
354354
}
355-
var lb = "dbr-7.3.0.3.node.wasm";
355+
var lb = "dbr-7.3.0.4.node.wasm";
356356
if (!kb()) {
357357
var mb = lb;
358358
lb = e.locateFile ? e.locateFile(mb, ka) : ka + mb;

0 commit comments

Comments
 (0)