Skip to content

Commit 4b1f8b6

Browse files
authored
Merge pull request #906 from dynamsoft-docs/preview
update to internal commit d3595f05
2 parents 4106ac5 + 1554028 commit 4b1f8b6

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

_articles/faq/dwt-with-annotation.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,19 +29,19 @@ Deliver the SDK dependencies with either the [jsDelivr](https://jsdelivr.com/) o
2929
- jsDelivr
3030

3131
```html
32-
// Dynamic Web TWAIN
32+
<!--Dynamic Web TWAIN-->
3333
<script src="https://cdn.jsdelivr.net/npm/dwt@latest/dist/dynamsoft.webtwain.min.js"></script>
34-
// Dynamsoft Document Viewer
34+
<!--Dynamsoft Document Viewer-->
3535
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-document-viewer@latest/dist/ddv.js"></script>
3636
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/dynamsoft-document-viewer@latest/dist/ddv.css">
3737
```
3838

3939
- UNPKG
4040

4141
```html
42-
// Dynamic Web TWAIN
42+
<!--Dynamic Web TWAIN-->
4343
<script src="https://unpkg.com/dwt@latest/dist/dynamsoft.webtwain.min.js"></script>
44-
// Dynamsoft Document Viewer
44+
<!--Dynamsoft Document Viewer-->
4545
<script src="https://unpkg.com/dynamsoft-document-viewer@latest/dist/ddv.js"></script>
4646
<link rel="stylesheet" href="https://unpkg.com/dynamsoft-document-viewer@latest/dist/ddv.css">
4747
```
@@ -121,6 +121,7 @@ Links to API Reference:
121121
Dynamsoft.DWT.ProductKey = "DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9";
122122
Dynamsoft.DWT.UseDefaultViewer = false;
123123
Dynamsoft.DWT.ResourcesPath = "https://cdn.jsdelivr.net/npm/dwt@latest/dist";
124+
// You need to set the service installer location here since the installer's size exceeds jsdelivr's limit. You'd better host the installers in your own environment.
124125
Dynamsoft.DWT.ServiceInstallerLocation = 'https://download2.dynamsoft.com/Demo/DWT/Resources/dist/';
125126

126127
let DWObject;
@@ -319,6 +320,7 @@ let DWObject, editViewer, ddvDoc;
319320
Dynamsoft.DWT.ProductKey = license;
320321
Dynamsoft.DWT.UseDefaultViewer = false;
321322
Dynamsoft.DWT.ResourcesPath = "https://cdn.jsdelivr.net/npm/dwt@latest/dist";
323+
// You need to set the service installer location here since the installer's size exceeds jsdelivr's limit. You'd better host the installers in your own environment.
322324
Dynamsoft.DWT.ServiceInstallerLocation = 'https://download2.dynamsoft.com/Demo/DWT/Resources/dist/';
323325
324326
// Create a Dynamic Web TWAIN instance without the built-in viewer

0 commit comments

Comments
 (0)