diff --git a/hello-world/es6.html b/hello-world/es6.html index 01317f0c..a8694690 100644 --- a/hello-world/es6.html +++ b/hello-world/es6.html @@ -1,96 +1,98 @@ + + + + + + + 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..9a566c7c 100644 --- a/hello-world/hello-world.html +++ b/hello-world/hello-world.html @@ -3,17 +3,17 @@ - + - + Dynamsoft Barcode Reader Sample - Hello World (Decode via Camera)

Hello World (Decode via Camera)

-
- Results:
-
+
+ Results:
+
+ - - - - - - - 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); + } + })(); + } + ); + + +