Skip to content

Commit 70f5c24

Browse files
committed
Clean up BarcodeScanner guide: remove commented code, add requirements heading, fix subheadings
1 parent c2596ed commit 70f5c24

1 file changed

Lines changed: 5 additions & 22 deletions

File tree

  • programming/javascript/user-guide

programming/javascript/user-guide/index.md

Lines changed: 5 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -31,40 +31,23 @@ The `BarcodeScanner` class offers the following features:
3131

3232
- Intuitive configuration objects that streamline both algorithm and UI setup.
3333

34-
We recommend using this guide as a reference when creating your own application. If you are looking for a fully customizable barcode decoding library, you are welcome to use the [Foundational APIs](https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/user-guide/foundational-api.html). Before starting, ensure the **basic requirements** are met.
34+
We recommend using this guide as a reference when creating your own application. If you are looking for a fully customizable barcode decoding library, you are welcome to use the [Foundational APIs](https://www.dynamsoft.com/barcode-reader/docs/web/programming/javascript/user-guide/foundational-api.html).
3535

36-
<!--
37-
Thanks to its simplified APIs and built-in UI for video streaming, you can implement basic scanning functionality with just one line of code:
38-
39-
```js
40-
new Dynamsoft.BarcodeScanner().launch().then(result=>alert(result.barcodeResults[0].text));
41-
```
42-
43-
<p align="center" style="text-align:center; white-space: normal; ">
44-
<a target="_blank" href="https://jsfiddle.net/DynamsoftTeam/csm2f9wb/" title="Run via JSFiddle" style="text-decoration:none;">
45-
<img src="https://cdn.jsdelivr.net/npm/simple-icons@3.0.1/icons/jsfiddle.svg" alt="Run via JSFiddle" width="20" height="20" style="width:20px;height:20px;" >
46-
</a>
47-
</p>
48-
-->
36+
**Requirements:**
4937

5038
- Internet connection
51-
- A supported browser
39+
- A supported browser (see [system requirements](https://www.dynamsoft.com/faq/barcode-reader/web/capabilities/system-requirement.html))
5240
- Camera access
5341

54-
> [!TIP]
55-
> Please refer to [system requirements](https://www.dynamsoft.com/faq/barcode-reader/web/capabilities/system-requirement.html) for more details.
56-
5742
## License
5843

59-
<!-- 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) -->
60-
6144
When getting started with Barcode Scanner, we recommend getting your own 30-day trial license.
6245

6346
{% include trialLicense.html %}
6447

6548
## Quick Start: Hello World Example
6649

67-
Scan One Single Barcode via Camera
50+
### Scan One Single Barcode via Camera
6851

6952
```html
7053
<!DOCTYPE html>
@@ -105,7 +88,7 @@ Scan One Single Barcode via Camera
10588
</a>
10689
</p>
10790

108-
Scan Multiple Barcodes Continuously
91+
### Scan Multiple Barcodes Continuously
10992

11093
```html
11194
<!DOCTYPE html>

0 commit comments

Comments
 (0)