Skip to content
Merged

Dev #100

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ yarn.lock
/*.exe
/*.jar
/*.md
/*.html
/*.json
/*.js
/*.txt
Expand Down
941 changes: 0 additions & 941 deletions README.html

This file was deleted.

12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ The complete code of the "Hello World" example is shown below
<html>

<body>
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@8.6.1/dist/dbr.js"></script>
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@8.6.3/dist/dbr.js"></script>
<script>
// initializes and uses the library
let pScanner = null;
Expand Down Expand Up @@ -125,13 +125,13 @@ The simplest way to include the library is to use either the [jsDelivr](https://
* jsDelivr

``` html
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@8.6.1/dist/dbr.js"></script>
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@8.6.3/dist/dbr.js"></script>
```

* UNPKG

``` html
<script src="https://unpkg.com/dynamsoft-javascript-barcode@8.6.1/dist/dbr.js"></script>
<script src="https://unpkg.com/dynamsoft-javascript-barcode@8.6.3/dist/dbr.js"></script>
```

#### Host the library yourself (recommended)
Expand Down Expand Up @@ -159,7 +159,7 @@ The following shows a few ways to download the library.
Depending on how you downloaded the library and where you put it. You can typically include it like this:

``` html
<script src="/DBR-JS-8.6.1/dist/dbr.js"></script>
<script src="/DBR-JS-8.6.3/dist/dbr.js"></script>
```

or
Expand Down Expand Up @@ -201,7 +201,7 @@ Dynamsoft.DBR.BarcodeReader.productKeys = "t0068NQAAACgTVU2aucyxqETXKkiomqhV7YoL
Or

```html
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@8.6.1/dist/dbr.js" data-productKeys="t0068NQAAACgTVU2aucyxqETXKkiomqhV7YoLrnqjLiQQRSH5DBV1UtIs4..."></script>
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@8.6.3/dist/dbr.js" data-productKeys="t0068NQAAACgTVU2aucyxqETXKkiomqhV7YoLrnqjLiQQRSH5DBV1UtIs4..."></script>
```

#### Specify the location of the "engine" files
Expand All @@ -212,7 +212,7 @@ The following code uses the jsDelivr CDN, feel free to change it to your own loc

``` javascript
import DBR from "dynamsoft-javascript-barcode";
DBR.BarcodeScanner.engineResourcePath = "https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@8.6.1/dist/";
DBR.BarcodeScanner.engineResourcePath = "https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@8.6.3/dist/";
export default DBR;
```

Expand Down
Binary file not shown.
2 changes: 1 addition & 1 deletion dist/dbr-8.6.1.wasm.js → dist/dbr-8.6.3.full.wasm.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file not shown.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file renamed dist/dbr-8.6.1.wasm → dist/dbr-8.6.3.wasm
Binary file not shown.
2 changes: 1 addition & 1 deletion dist/dbr-8.6.1.full.wasm.js → dist/dbr-8.6.3.wasm.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.
4 changes: 2 additions & 2 deletions dist/dbr.browser.mjs

Large diffs are not rendered by default.

Loading