Skip to content

Commit 069088b

Browse files
Merge pull request #482 from dynamsoft-docs/preview
Preview
2 parents 025669a + a20b4af commit 069088b

File tree

7 files changed

+25
-25
lines changed

7 files changed

+25
-25
lines changed

programming/javascript/faq/adaptive-wasm-loading.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ Once correctly configured, the SDK will automatically detect the environment and
4646
4747
## How to manually specify which Wasm variant to load?
4848

49-
By default, the SDK automatically determines the most suitable WebAssembly (Wasm) variant to load based on the browsers capabilities.
49+
By default, the SDK automatically determines the most suitable WebAssembly (Wasm) variant to load based on the browser's capabilities.
5050
However, developers can **manually override** this behavior and explicitly specify which Wasm module to load through the `wasmLoadOptions` property.
5151

5252
### Example
@@ -75,7 +75,7 @@ type WasmType =
7575
>
7676
>If the specified Wasm variant is not supported in the current browser, the SDK will gracefully fall back to a compatible variant.
7777
78-
## Why isnt -SIMD-Pthread Wasm enabled by default on iOS?
78+
## Why isn't -SIMD-Pthread Wasm enabled by default on iOS?
7979

80-
Due to iOSs strict memory allocation and management limitations, loading `-SIMD-Pthread Wasm` can sometimes lead to “out of memory” errors on older devices or iOS versions.
80+
Due to iOS's strict memory allocation and management limitations, loading `-SIMD-Pthread Wasm` can sometimes lead to “out of memory” errors on older devices or iOS versions.
8181
To ensure stability and compatibility, the SDK does not load `-SIMD-Pthread Wasm` by default on iOS. Instead, it automatically falls back to the most suitable Baseline or SIMD variant depending on the environment.

programming/javascript/faq/general-troubleshooting-steps-for-decode-failure.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Generally, with some setting changes via our APIs, Dynamsoft Barcode Reader Java
2828

2929

3030
<img src="../assets/full_hd.jpg" alt="Full HD" width="50%" height="50%">
31-
> **_NOTE:_** If the barcode is decoded, then you can output the settings and use that setting template via the `updateRuntimeSettings` method. If the barcode still cant be decoded via the online demo, then move on to step 2.
31+
> **_NOTE:_** If the barcode is decoded, then you can output the settings and use that setting template via the `updateRuntimeSettings` method. If the barcode still can't be decoded via the online demo, then move on to step 2.
3232
3333
## Step 2 - capture image frames and send to Dynamsoft for analysis
3434

programming/javascript/faq/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ noTitleIndex: true
4343

4444
17. [What file/image formats are supported when reading barcodes from files in local memory?](formats-supported-for-existing-files.html)
4545

46-
18. [How to scan the barcode on a US Drivers License and get the first name, last name, DOB, etc.?](scan-US-drivers-license.html)
46+
18. [How to scan the barcode on a US Driver's License and get the first name, last name, DOB, etc.?](scan-US-drivers-license.html)
4747

4848
19. [How to add/remove a "beep" sound once a barcode is found?](add-remove-beep-sound.html)
4949

programming/javascript/release-notes/js-9.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ permalink: /programming/javascript/release-notes/js-9.html
6666

6767
- Updated the barcode reader algorithm to v9.6.30.
6868
- Updated the internal `Dynamsoft Camera Enhancer` from version 3.3.5 to version 3.3.6.
69-
- Updated the API [`singleFrameMode`](../api-reference/BarcodeScanner.md#singleframemode) to support using the system camera directly without prompting for image source selection on mobile devices.
69+
- Updated the API `singleFrameMode` to support using the system camera directly without prompting for image source selection on mobile devices.
7070
- Updated the method `close()` so that it automatically clears the highlighting of found barcode symbols.
7171

7272
## 9.6.21 (08/03/2023)
@@ -113,9 +113,9 @@ permalink: /programming/javascript/release-notes/js-9.html
113113

114114
- Updated the barcode reader algorithm to v9.6.10.
115115
- Updated the internal `Dynamsoft Camera Enhancer` to [v3.3.1](https://www.dynamsoft.com/camera-enhancer/docs-archive/web/programming/javascript/release-note/release-notes-3.x.html#331-02202023).
116-
- The method [`decodeBuffer`](../api-reference/BarcodeReader.md#decodebuffer) is updated to accept an additional parameter "orientation" to help specify the orientation of the image data.
117-
- The interface [`LocalizationResult`](../api-reference/interface/LocalizationResult.md) is updated to have a new property "transformationMatrix".
118-
- Three missing errorcodes are added: DBR_PANORAMA_LICENSE_INVALID, DBR_PHARMACODE_LICENSE_INVALID, DBR_IMAGE_ORIENTATION_INVALID. Check the full list at [`EnumErrorCode`](https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/api-reference/enum/EnumErrorCode.html).
116+
- The method `decodeBuffer` is updated to accept an additional parameter "orientation" to help specify the orientation of the image data.
117+
- The interface `LocalizationResult` is updated to have a new property "transformationMatrix".
118+
- Three missing errorcodes are added: DBR_PANORAMA_LICENSE_INVALID, DBR_PHARMACODE_LICENSE_INVALID, DBR_IMAGE_ORIENTATION_INVALID. Check the full list at [`EnumErrorCode`](https://www.dynamsoft.com/barcode-reader/docs/v9/web/programming/javascript/api-reference/enum/EnumErrorCode.html).
119119

120120
#### Fixed
121121

@@ -153,7 +153,7 @@ permalink: /programming/javascript/release-notes/js-9.html
153153

154154
#### Added
155155

156-
- Added 3 new properties in [`ScanSettings`](https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/api-reference/interface/ScanSettings.html#scansettings)
156+
- Added 3 new properties in `ScanSettings`
157157
1. `autoZoom`, when set to `true`, means the SDK will automatically zoom in on the video if the barcode appears too small in the video feed and fails to be read;
158158
2. `autoFocus`, when set to `true`, means the SDK will automatically focus on the part of the video where a barcode is found but fails to be read;
159159
3. `autoSuggestTip`, when set to `true`, means the SDK will automatically suggest Tip messages to help guide the user to acquire better video frames for barcode reading.
@@ -243,7 +243,7 @@ permalink: /programming/javascript/release-notes/js-9.html
243243
### Added
244244

245245
* Added method `setVideoFit()` to `BarcodeScanner` to allow the video element to either fit or cover the viewer.
246-
* Added method `setImageSource()` to `BarcodeReader` to specify an Image Source which provides images of the type [`DSImage`](../api-reference/interface/dsimage.md) for continuous scanning.
246+
* Added method `setImageSource()` to `BarcodeReader` to specify an Image Source which provides images of the type `DSImage` for continuous scanning.
247247
* Added methods `startScanning()`, `pauseScanning()`, `resumeScanning()`, `stopScanning()`, `getScanSettings()` and `updateScanSettings()` as well as events `onUniqueRead` and `onImageRead` to `BarcodeReader` to facilitate continous scanning of images coming from the Image Source.
248248

249249
## 9.0.0 (03/24/2022)
@@ -290,10 +290,10 @@ The following APIs are moved:
290290

291291
| API Name | Notes |
292292
|:-|:-|
293-
| `whenToPlaySoundforSuccessfulRead` | Moved to [`ScanSettings`](../api-reference/interface/ScanSettings.md). |
294-
| `soundOnSuccessfullRead` | Moved to [`ScanSettings`](../api-reference/interface/ScanSettings.md). |
295-
| `whenToVibrateforSuccessfulRead` | Moved to [`ScanSettings`](../api-reference/interface/ScanSettings.md). |
296-
| `vibrateDuration` | Moved to [`ScanSettings`](../api-reference/interface/ScanSettings.md). |
293+
| `whenToPlaySoundforSuccessfulRead` | Moved to `ScanSettings` |
294+
| `soundOnSuccessfullRead` | Moved to `ScanSettings` |
295+
| `whenToVibrateforSuccessfulRead` | Moved to `ScanSettings` |
296+
| `vibrateDuration` | Moved to `ScanSettings` |
297297

298298
#### Deprecated
299299

programming/javascript/upgrade-guide/10to11.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ Dynamsoft.Core.CoreModule.engineResourcePaths.rootDirectory = "https://cdn.jsdel
5959
6060
### Upgrade your template
6161

62-
The template system is upgraded. The template you used for the previous version cant be directly recognized by the new version. Please use the [template upgrade tool](https://www.dynamsoft.com/tools/template-upgrade/) to upgrade your template.
62+
The template system is upgraded. The template you used for the previous version can't be directly recognized by the new version. Please use the [template upgrade tool](https://www.dynamsoft.com/tools/template-upgrade/) to upgrade your template.
6363

6464
## From version 9.x or earlier
6565

@@ -70,6 +70,6 @@ The Dynamsoft Barcode Reader JavaScript edition has been refactored to integrate
7070

7171
> [!IMPORTANT]
7272
>
73-
> Dynamsofts ongoing feature development is based on the new DCV architecture. By upgrading to v11, youll gain access to improved performance and new capabilities.
73+
> Dynamsoft's ongoing feature development is based on the new DCV architecture. By upgrading to v11, you'll gain access to improved performance and new capabilities.
7474
7575
Due to the architectural changes, **a significant rewrite of your existing code is required**. we recommend you to follow the [User Guide](https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/user-guide/barcode-scanner.html) and re-write your codes.

programming/javascript/user-guide/barcode-scanner-customization.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ Refer to [`Use customized template`](#use-customized-template) for more details.
5353
5454
## Use customized template
5555

56-
In more complex scenarios—such as blurred, damaged, curved, or unevenly lit barcodes—you might need a custom template to perform specific image processing steps. BarcodeScannerConfig provides a property to load a template file, allowing you to customize the algorithms processing workflow.
56+
In more complex scenarios—such as blurred, damaged, curved, or unevenly lit barcodes—you might need a custom template to perform specific image processing steps. BarcodeScannerConfig provides a property to load a template file, allowing you to customize the algorithm's processing workflow.
5757

5858
> [!WARNING]
5959
> This operation will overwrite the built-in templates.
@@ -141,7 +141,7 @@ npm install dynamsoft-barcode-reader-bundle@11.2.4000 -E
141141

142142
### Component for video decoding
143143

144-
Heres how to quickly set up a video barcode scanner using the `BarcodeScanner` class:
144+
Here's how to quickly set up a video barcode scanner using the `BarcodeScanner` class:
145145

146146
```ts
147147
const config = {
@@ -155,7 +155,7 @@ Here’s how to quickly set up a video barcode scanner using the `BarcodeScanner
155155

156156
#### Define the resource paths
157157

158-
To ensure stability, especially in environments with limited internet access, its a good idea to **host all required resources locally** (e.g., under the dist/ folder).
158+
To ensure stability, especially in environments with limited internet access, it's a good idea to **host all required resources locally** (e.g., under the dist/ folder).
159159
Below is an example using the official CDN — feel free to replace it with your own path:
160160

161161
```ts

programming/javascript/user-guide/zip-guide.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Dynamsoft Barcode Reader JavaScript Package Readme
1+
# Dynamsoft Barcode Reader JavaScript - Package Readme
22

33
Welcome! This package contains all resource files related to **Dynamsoft Barcode Reader JavaScript SDK**, and sample projects demonstrating how to use it.
44

@@ -38,18 +38,18 @@ Here are a couple of easy ways to start one:
3838
http://localhost:8000
3939
```
4040

41-
Youll see the `index.html` page, which links to all sample pages.
41+
You'll see the `index.html` page, which links to all sample pages.
4242
4343
>[!TIP]
44-
> Dont want to set up a local server? You can view the latest version of our samples hosted on the Dynamsoft server here:
44+
> Don't want to set up a local server? You can view the latest version of our samples hosted on the Dynamsoft server here:
4545
>https://demo.dynamsoft.com/Samples/DBR/JS/index.html
4646

4747
---
4848

4949
## Sample Folders
5050

51-
- `frameworks/` This directory contains framework-specific examples demonstrating how to integrate the Dynamsoft Barcode Reader (JavaScript edition) into common web and hybrid frameworks. Each framework folder contains one or more runnable sub-examples (for example, scan-using-foundational-api and/or scan-using-rtu-api) showing practical integration patterns.
52-
- `scenarios/` This directory contains focused scenario samples that show common real-world uses of the Dynamsoft Barcode Reader (JavaScript edition).
51+
- `frameworks/` - This directory contains framework-specific examples demonstrating how to integrate the Dynamsoft Barcode Reader (JavaScript edition) into common web and hybrid frameworks. Each framework folder contains one or more runnable sub-examples (for example, scan-using-foundational-api and/or scan-using-rtu-api) showing practical integration patterns.
52+
- `scenarios/` - This directory contains focused scenario samples that show common real-world uses of the Dynamsoft Barcode Reader (JavaScript edition).
5353

5454
## Documentation
5555

0 commit comments

Comments
 (0)