Skip to content

Commit d0357d8

Browse files
committed
update readme
1 parent 3126f8c commit d0357d8

File tree

9 files changed

+18
-18
lines changed

9 files changed

+18
-18
lines changed

foundational-api-samples/hello-world/angular/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@ LicenseManager.initLicense('DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9', true);
9090
* LICENSE ALERT - THE END
9191
*/
9292

93-
// Optional. Preload "BarcodeReader" module for reading barcodes. It will save time on the initial decoding by skipping the module loading.
94-
CoreModule.loadWasm(['DBR']);
93+
// Optional. Preload .wasm file for reading barcodes. It will save time on the initial decoding by skipping the resource loading.
94+
CoreModule.loadWasm();
9595
```
9696

9797
> Note:

foundational-api-samples/hello-world/blazor/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -297,8 +297,8 @@ Inside the `wwwroot\index.html` file, we will initialize the license and necessa
297297
* LICENSE ALERT - THE END
298298
*/
299299

300-
// Optional. Used to load wasm resources in advance, reducing latency between video playing and barcode decoding.
301-
Dynamsoft.Core.CoreModule.loadWasm(["DBR"]);
300+
// Optional. Preload .wasm file for reading barcodes. It will save time on the initial decoding by skipping the resource loading.
301+
CoreModule.loadWasm();
302302

303303
// Defined globally for easy debugging.
304304
let cameraEnhancer, cvRouter;

foundational-api-samples/hello-world/electron/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -167,8 +167,8 @@ Dynamsoft.License.LicenseManager.initLicense("DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMD
167167
* LICENSE ALERT - THE END
168168
*/
169169

170-
// Optional. Preload "BarcodeReader" module for reading barcodes. It will save time on the initial decoding by skipping the module loading.
171-
Dynamsoft.Core.CoreModule.loadWasm(["DBR"]);
170+
// Optional. Preload .wasm file for reading barcodes. It will save time on the initial decoding by skipping the resource loading.
171+
CoreModule.loadWasm();
172172

173173
(async () => {
174174
// Defined globally for easy debugging.

foundational-api-samples/hello-world/next/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,8 +90,8 @@ LicenseManager.initLicense("DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9", {
9090
* LICENSE ALERT - THE END
9191
*/
9292

93-
// Optional. Preload "BarcodeReader" module for reading barcodes. It will save time on the initial decoding by skipping the module loading.
94-
CoreModule.loadWasm(["DBR"]);
93+
// Optional. Preload .wasm file for reading barcodes. It will save time on the initial decoding by skipping the resource loading.
94+
CoreModule.loadWasm();
9595
```
9696

9797
> Note:

foundational-api-samples/hello-world/nuxt/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,8 @@ LicenseManager.initLicense("DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9", {
7878
* LICENSE ALERT - THE END
7979
*/
8080

81-
// Optional. Preload "BarcodeReader" module for reading barcodes. It will save time on the initial decoding by skipping the module loading.
82-
CoreModule.loadWasm(["DBR"]);
81+
// Optional. Preload .wasm file for reading barcodes. It will save time on the initial decoding by skipping the resource loading.
82+
CoreModule.loadWasm();
8383
```
8484

8585
> Note:

foundational-api-samples/hello-world/react-hooks/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@ LicenseManager.initLicense("DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9", {
7575
* LICENSE ALERT - THE END
7676
*/
7777

78-
// Optional. Preload "BarcodeReader" module for reading barcodes. It will save time on the initial decoding by skipping the module loading.
79-
CoreModule.loadWasm(["DBR"]);
78+
// Optional. Preload .wasm file for reading barcodes. It will save time on the initial decoding by skipping the resource loading.
79+
CoreModule.loadWasm();
8080
```
8181

8282
> Note:

foundational-api-samples/hello-world/react/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,8 +75,8 @@ LicenseManager.initLicense("DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9", {
7575
* LICENSE ALERT - THE END
7676
*/
7777

78-
// Optional. Preload "BarcodeReader" module for reading barcodes. It will save time on the initial decoding by skipping the module loading.
79-
CoreModule.loadWasm(["DBR"]);
78+
// Optional. Preload .wasm file for reading barcodes. It will save time on the initial decoding by skipping the resource loading.
79+
CoreModule.loadWasm();
8080
```
8181

8282
> Note:

foundational-api-samples/hello-world/svelte/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ LicenseManager.initLicense("DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9", {
7979
* LICENSE ALERT - THE END
8080
*/
8181

82-
// Optional. Preload "BarcodeReader" module for reading barcodes. It will save time on the initial decoding by skipping the module loading.
83-
CoreModule.loadWasm(["DBR"]);
82+
// Optional. Preload .wasm file for reading barcodes. It will save time on the initial decoding by skipping the resource loading.
83+
CoreModule.loadWasm();
8484
```
8585

8686
> Note:

foundational-api-samples/hello-world/vue/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,8 @@ LicenseManager.initLicense("DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9", {
9191
* LICENSE ALERT - THE END
9292
*/
9393

94-
// Optional. Preload "BarcodeReader" module for reading barcodes. It will save time on the initial decoding by skipping the module loading.
95-
CoreModule.loadWasm(["DBR"]);
94+
// Optional. Preload .wasm file for reading barcodes. It will save time on the initial decoding by skipping the resource loading.
95+
CoreModule.loadWasm();
9696
```
9797

9898
> Note:

0 commit comments

Comments
 (0)