-
Notifications
You must be signed in to change notification settings - Fork 108
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #153 from Dynamsoft/_dev
10.4.2002
- Loading branch information
Showing
5 changed files
with
21 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -89,7 +89,7 @@ The complete code of the "Hello World" example is shown below | |
<body> | ||
<div id="camera-view-container" style="width: 100%; height: 60vh"></div> | ||
<textarea id="results" style="width: 100%; min-height: 10vh; font-size: 3vmin; overflow: auto" disabled></textarea> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected].2001/dist/dbr.bundle.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected].2002/dist/dbr.bundle.js"></script> | ||
<script> | ||
Dynamsoft.License.LicenseManager.initLicense("DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9"); | ||
Dynamsoft.Core.CoreModule.loadWasm(["dbr"]); | ||
|
@@ -225,29 +225,29 @@ The simplest way to include the SDK is to use either the [jsDelivr](https://jsde | |
- jsDelivr | ||
```html | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected].2001/dist/dbr.bundle.js"></script> | ||
<script src="https://cdn.jsdelivr.net/npm/[email protected].2002/dist/dbr.bundle.js"></script> | ||
``` | ||
- UNPKG | ||
```html | ||
<script src="https://unpkg.com/[email protected].2001/dist/dbr.bundle.js"></script> | ||
<script src="https://unpkg.com/[email protected].2002/dist/dbr.bundle.js"></script> | ||
``` | ||
- In some rare cases (such as some restricted areas), you might not be able to access the CDN. If this happens, you can use the following files for the test. | ||
```html | ||
<script src="https://download2.dynamsoft.com/packages/[email protected].2001/dist/dbr.bundle.js"></script> | ||
<script src="https://download2.dynamsoft.com/packages/[email protected].2002/dist/dbr.bundle.js"></script> | ||
``` | ||
However, please **DO NOT** use `download2.dynamsoft.com` resources in a production application as they are for temporary testing purposes only. Instead, you can try hosting the SDK yourself. | ||
- In frameworks like React and Vue, you may want to add the package as a dependency. | ||
```sh | ||
npm i [email protected].2001 -E | ||
npm i [email protected].2002 -E | ||
# or | ||
yarn add [email protected].2001 -E | ||
yarn add [email protected].2002 -E | ||
``` | ||
NOTE that in frameworks, you need to [specify the engineResourcePaths](#specify-the-location-of-the-engine-files-optional). | ||
|
@@ -265,13 +265,13 @@ There are two options for downloading the SDK, and the usage for each is slightl | |
The resources are located at path `dynamsoft/distributables/<pkg>@<version>`, you can typically include it like this: | ||
```html | ||
<script src="dynamsoft/distributables/[email protected].2001/dist/dbr.bundle.js"></script> | ||
<script src="dynamsoft/distributables/[email protected].2002/dist/dbr.bundle.js"></script> | ||
``` | ||
- npm | ||
```sh | ||
npm i [email protected].2001 -E | ||
npm i [email protected].2002 -E | ||
# Compared with using CDN, you need to set up more resources. | ||
npm i [email protected] -E | ||
npm i [email protected] -E | ||
|
@@ -592,7 +592,7 @@ await cvRouter.startCapturing("ReadSingleBarcode"); | |
The preset templates have many more settings that can be customized to suit your use case best. If you [download the SDK from Dynamsoft website](https://www.dynamsoft.com/barcode-reader/downloads/1000003-confirmation/), you can find the templates under | ||
* "/dynamsoft-barcode-reader-js-10.4.2001/dynamsoft/templates/" | ||
* "/dynamsoft-barcode-reader-js-10.4.2002/dynamsoft/templates/" | ||
Upon completing the template editing, you can invoke the `initSettings` method and provide it with the template path as an argument. | ||
|
@@ -674,7 +674,7 @@ The UI is part of the auxiliary SDK "Dynamsoft Camera Enhancer", read more on ho | |
## API Documentation | ||
You can check out the detailed documentation about the APIs of the SDK at | ||
[https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/api-reference/?ver=10.4.2001](https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/api-reference/?ver=10.4.2001). | ||
[https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/api-reference/?ver=10.4.2002](https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/api-reference/?ver=10.4.2002). | ||
## System Requirements | ||
|
@@ -716,7 +716,7 @@ Apart from the browsers, the operating systems may impose some limitations of th | |
## How to Upgrade | ||
If you want to upgrade the SDK from an old version to a newer one, please see [how to upgrade](https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/upgrade-guide/index.html?ver=10.4.2001&utm_source=github). | ||
If you want to upgrade the SDK from an old version to a newer one, please see [how to upgrade](https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/upgrade-guide/index.html?ver=10.4.2002&utm_source=github). | ||
## Release Notes | ||
|
@@ -728,4 +728,4 @@ Now that you have got the SDK integrated, you can choose to move forward in the | |
1. Learn how to [Use in Framework](https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/user-guide/use-in-framework.html) | ||
2. Check out the [Official Samples and Demo](https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/samples-demos/index.html?ver=10.4.20) | ||
3. Learn about the [APIs of the SDK](https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/api-reference/index.html?ver=10.4.2001) | ||
3. Learn about the [APIs of the SDK](https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/api-reference/index.html?ver=10.4.2002) |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters