Skip to content

Commit d6a7247

Browse files
update to internal commit 4f222d5b
1 parent 4b12811 commit d6a7247

File tree

7 files changed

+29
-19
lines changed

7 files changed

+29
-19
lines changed

_includes/sidelist-programming/programming-javascript.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1642,6 +1642,10 @@
16421642
<a href="{{ site.js }}faq/camera-cannot-open-in-pwa.html"
16431643
>How to Resolve Camera Cannot Open in PWA Using Dynamsoft Barcode Reader on iOS?</a>
16441644
</li>
1645+
<li>
1646+
<a href="{{ site.js }}faq/adaptive-wasm-loading.html"
1647+
>What Is Adaptive WebAssembly (Wasm) Loading and How Does It Work?</a>
1648+
</li>
16451649
</ul>
16461650
</li>
16471651
<li lang="javascript"><a href="{{ site.license_activation }}index.html" class="otherLinkColour">License Initialization</a></li>

_includes/sidelist-programming/sidelist-parameters.html

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,9 @@
266266
<li><a href="{{ site.dcvb_parameters }}barcode-format-specification/enable-addon-code.html" class="otherLinkColour">EnableAddOnCode</a></li>
267267
<li><a href="{{ site.dcvb_parameters }}barcode-format-specification/enable-data-matrix-ecc000-140.html" class="otherLinkColour">EnableDataMatrixECC000-140</a></li>
268268
<li><a href="{{ site.dcvb_parameters }}barcode-format-specification/enable-qr-code-model-1.html" class="otherLinkColour">EnableQRCodeModel1</a></li>
269+
<li><a href="{{ site.dcvb_parameters }}barcode-format-specification/expected-barcodes-count.html" class="otherLinkColour">ExpectedBarcodesCount</a></li>
269270
<li><a href="{{ site.dcvb_parameters }}barcode-format-specification/find-uneven-module-barcode.html" class="otherLinkColour">FindUnevenModuleBarcode</a></li>
271+
<li><a href="{{ site.dcvb_parameters }}barcode-format-specification/has-vertical-quietzone.html" class="otherLinkColour">HasVerticalQuietZone</a></li>
270272
<li><a href="{{ site.dcvb_parameters }}barcode-format-specification/head-module-ratio.html" class="otherLinkColour">HeadModuleRatio</a></li>
271273
<li><a href="{{ site.dcvb_parameters }}barcode-format-specification/include-implied-ai01.html" class="otherLinkColour">IncludeImpliedAI01</a></li>
272274
<li><a href="{{ site.dcvb_parameters }}barcode-format-specification/include-trailing-check-digit.html" class="otherLinkColour">IncludeTrailingCheckDigit</a></li>
@@ -299,7 +301,8 @@
299301
</li>
300302
<li><a href="{{ site.dcvb_parameter_file }}auxiliary/global-parameter.html" class="otherLinkColour">Global Parameter</a>
301303
<ul>
302-
<li><a href="{{ site.dcvb_parameters }}global-parameter/max-total-image-dimension.html" class="otherLinkColour">MaxTotalImageDimension</a></li>
304+
<li><a href="{{ site.dcvb_parameters_file }}auxiliary/global-parameter.html#maxtotalimagedimension" class="otherLinkColour">MaxTotalImageDimension</a></li>
305+
<li><a href="{{ site.dcvb_parameters_file }}auxiliary/global-parameter.html#intraopnumthreads" class="otherLinkColour">IntraOpNumThreads</a></li>
303306
</ul>
304307
</li>
305308
<li><a href="{{ site.dcvb_parameter_file }}semantic-processing/index.html" class="otherLinkColour">SemanticProcessing Object</a>

programming/javascript/api-reference/barcode-scanner.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ interface BarcodeScannerConfig {
187187
// The container for rendering the scanner and/or result view. Note that ResultView is only valid for SM_MULTI_UNIQUE mode. If not specified, a full-viewport default UI will be created.
188188
container: "#camera-view-container",
189189
scannerViewConfig: {
190-
// The ResultViewConfig goes in here - see ResultViewConfig section
190+
// The ScannerViewConfig goes in here - see ScannerViewConfig section
191191
},
192192
resultViewConfig: {
193193
// The ResultViewConfig goes in here - see ResultViewConfig section

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

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,9 @@ This adaptive loading mechanism ensures the SDK automatically selects the **most
2222
| **Parallelism** | Single-threaded | Single Instruction Multiple Data (CPU vector instruction set) | Multi-threaded(via Web Workers + SharedArrayBuffer) + SIMD |
2323
| **Performance Characteristics** | Simple, limited by single-core performance | Leverages CPU vectorized parallelism to speed up data processing | Combines SIMD vectorization and multi-core acceleration for maximum performance |
2424
| **Compatibility** | Supported in all Wasm environments | Requires browser support for Wasm SIMD instruction set | Requires browser support for both Wasm SIMD and Wasm threads (cross-origin isolation) |
25-
| **Minimum Supported Browser Versions** | Chrome 78+</br>Edge 79+</br>Safari 14.5+</br>Firefox 68+ | Chrome 91+</br>Edge 91+</br>Safari 16.4+</br>Firefox 89+ | Chrome 91+</br>Edge 91+</br>Safari 16.4+</br>Firefox 89+ |
25+
| **Minimum Supported Browser Versions** | Chrome 78+<br>Edge 79+<br>Safari 14.5+<br>Firefox 68+ | Chrome 91+<br>Edge 91+<br>Safari 16.4+<br>Firefox 89+ | Chrome 91+<br>Edge 91+<br>Safari 16.4+<br>Firefox 89+ |
2626
| **Wasm Size** | 5588 KB | 6974 KB | 8225 KB |
27+
| **Transfer Size** | 2.11 MB | 2.55 MB | 2.81 MB |
2728

2829
---
2930

@@ -70,7 +71,7 @@ type WasmType =
7071
>[!NOTE]
7172
>Setting wasmType to "auto" (default) allows the SDK to automatically choose the optimal Wasm based on runtime capability detection.
7273
>
73-
>When using "ml-simd-pthread", ensure that cross-origin isolation is properly configured as described in How to enable `-SIMD-Pthread Wasm` for accelerated deep learning computation.
74+
>When using "ml-simd-pthread", ensure that cross-origin isolation is properly configured as described in [How to enable `-SIMD-Pthread Wasm` for accelerated deep learning computation](#how-to-enable--simd-pthread-wasm-for-accelerated-deep-learning-computation).
7475
>
7576
>If the specified Wasm variant is not supported in the current browser, the SDK will gracefully fall back to a compatible variant.
7677

programming/javascript/faq/index.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,4 +87,6 @@ noTitleIndex: true
8787

8888
39. [How to Enable Specific Barcode Formats with Your License?](enable-supported-barcode-format.html)
8989

90-
40. [How to Resolve Camera Cannot Open in PWA Using Dynamsoft Barcode Reader on iOS](camera-cannot-open-in-pwa.html)
90+
40. [How to Resolve Camera Cannot Open in PWA Using Dynamsoft Barcode Reader on iOS?](camera-cannot-open-in-pwa.html)
91+
92+
41. [What Is Adaptive WebAssembly (Wasm) Loading and How Does It Work?](adaptive-wasm-loading.md)

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

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,15 @@ description: Dynamsoft Barcode Scanner User Guide
1010

1111
# Build a Web-Based Barcode Scanner Using Just a Few Lines of JavaScript
1212

13+
<!-- Don't forget to add the TOC & update license section, which is useful for npm README.-->
14+
- [Build a Web-Based Barcode Scanner Using Just a Few Lines of JavaScript](#build-a-web-based-barcode-scanner-using-just-a-few-lines-of-javascript)
15+
- [License](#license)
16+
- [Quick Start: Hello World Example](#quick-start-hello-world-example)
17+
- [Step 1: Setting up the HTML and Including the Barcode Scanner](#step-1-setting-up-the-html-and-including-the-barcode-scanner)
18+
- [Step 2: Initializing the Barcode Scanner](#step-2-initializing-the-barcode-scanner)
19+
- [Step 3: Launching the Barcode Scanner](#step-3-launching-the-barcode-scanner)
20+
- [Next Steps](#next-steps)
21+
1322
This user guide provides a step-by-step walkthrough of a "Hello World" web application using the `BarcodeScanner` JavaScript Edition.
1423

1524
The `BarcodeScanner` class offers the following features:
@@ -45,20 +54,11 @@ new Dynamsoft.BarcodeScanner().launch().then(result=>alert(result.barcodeResults
4554
4655
## License
4756

48-
When getting started with Barcode Scanner, we recommend getting your own 30-day trial license.
49-
50-
<!-- ### Trial License
51-
52-
When getting started with Barcode Scanner, we recommend [getting your own 30-day trial license](https://www.dynamsoft.com/customer/license/trialLicense/?product=dbr&utm_source=guide&package=js) -->
53-
54-
{% include trialLicense.html %}
55-
56-
<!-- > [!IMPORTANT]
57-
> The trial license can be renewed via the [customer portal](https://www.dynamsoft.com/customer/license/trialLicense/?product=dbr&utm_source=guide&package=js) twice, each time for another 15 days, giving you a total of 60 days to develop your own application using the solution. Please contact the [Dynamsoft Support Team](https://www.dynamsoft.com/company/contact/) if you need more time for a full evaluation.
57+
When getting started with Barcode Scanner, we recommend [getting your own 30-day trial license](https://www.dynamsoft.com/customer/license/trialLicense/?product=dbr&utm_source=guide&package=js)
5858

59-
### Full License
59+
<!-- When getting started with Barcode Scanner, we recommend getting your own 30-day trial license.
6060
61-
If you are fully satisfied with the solution and would like to move forward with a full license, please contact the [Dynamsoft Sales Team](https://www.dynamsoft.com/company/contact/). -->
61+
{% include trialLicense.html %} -->
6262

6363
## Quick Start: Hello World Example
6464

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ Here are a couple of easy ways to start one:
4848

4949
## Sample Folders
5050

51-
- `barcode-scanner-api-samples/`Samples using the Barcode Scanner API with a prebuilt interactive UI, making barcode scanning integration quick and easy.
52-
- `foundational-api-samples/`Samples using the foundational API with full customization capabilities.
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
---
5555

0 commit comments

Comments
 (0)