diff --git a/hello-world/es6.html b/hello-world/es6.html index 01317f0c..76afac3a 100644 --- a/hello-world/es6.html +++ b/hello-world/es6.html @@ -1,96 +1,101 @@ + + + + + + + Dynamsoft Barcode Reader Sample - Hello World for ES6 (Decode via Camera) + - - - - - - - Dynamsoft Barcode Reader Sample - Hello World for ES6 (Decode via Camera) - + +

Hello World for ES6 (Decode via Camera)

+
+ Results:
+
+ - - - \ No newline at end of file + // Open camera and start scanning single barcode. + await cameraEnhancer.open(); + await cvRouter.startCapturing("ReadSingleBarcode"); + } catch (ex) { + let errMsg = ex.message || ex; + console.error(errMsg); + alert(errMsg); + } + })(); + + + diff --git a/hello-world/hello-world.html b/hello-world/hello-world.html index 394bc99f..fbf84256 100644 --- a/hello-world/hello-world.html +++ b/hello-world/hello-world.html @@ -1,84 +1,85 @@ - - - - - - - Dynamsoft Barcode Reader Sample - Hello World (Decode via Camera) - + + + + + + + Dynamsoft Barcode Reader Sample - Hello World (Decode via Camera) + - -

Hello World (Decode via Camera)

-
- Results:
-
- - + - + // Open camera and start scanning single barcode. + await cameraEnhancer.open(); + await cvRouter.startCapturing("ReadSingleBarcode"); + } catch (ex) { + let errMsg = ex.message || ex; + console.error(errMsg); + alert(errMsg); + } + })(); + + diff --git a/hello-world/requirejs.html b/hello-world/requirejs.html index 68e95224..c6640347 100644 --- a/hello-world/requirejs.html +++ b/hello-world/requirejs.html @@ -1,106 +1,105 @@ + + + + + + + Dynamsoft Barcode Reader Sample - Hello World for RequireJS (Decode via Camera) + + - - - - - - - Dynamsoft Barcode Reader Sample - Hello World for RequireJS (Decode via Camera) - - + +

Hello World for RequireJS (Decode via Camera)

+
+ Results: +
+
+ - - - \ No newline at end of file + // Open camera and start scanning single barcode. + await cameraEnhancer.open(); + await cvRouter.startCapturing("ReadSingleBarcode"); + } catch (ex) { + let errMsg = ex.message || ex; + console.error(errMsg); + alert(errMsg); + } + })(); + } + ); + + +