Skip to content

Commit 43894b3

Browse files
authored
Merge pull request #98 from Dynamsoft/_dev
Dev
2 parents 8d96c76 + adb5240 commit 43894b3

File tree

90 files changed

+261
-261
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

90 files changed

+261
-261
lines changed

README.html

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ <h3><a id="step-one-check-the-code-of-the-example" class="anchor" aria-hidden="t
9595
<span class="pl-kos">&lt;</span><span class="pl-ent">html</span><span class="pl-kos">&gt;</span>
9696

9797
<span class="pl-kos">&lt;</span><span class="pl-ent">body</span><span class="pl-kos">&gt;</span>
98-
<span class="pl-kos">&lt;</span><span class="pl-ent">script</span> <span class="pl-c1">src</span>="<span class="pl-s">https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@8.6.0/dist/dbr.js</span>"<span class="pl-kos">&gt;</span><span class="pl-kos">&lt;/</span><span class="pl-ent">script</span><span class="pl-kos">&gt;</span>
98+
<span class="pl-kos">&lt;</span><span class="pl-ent">script</span> <span class="pl-c1">src</span>="<span class="pl-s">https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@8.6.1/dist/dbr.js</span>"<span class="pl-kos">&gt;</span><span class="pl-kos">&lt;/</span><span class="pl-ent">script</span><span class="pl-kos">&gt;</span>
9999
<span class="pl-kos">&lt;</span><span class="pl-ent">script</span><span class="pl-kos">&gt;</span>
100100
<span class="pl-c">// initializes and uses the library</span>
101101
<span class="pl-k">let</span> <span class="pl-s1">pScanner</span> <span class="pl-c1">=</span> <span class="pl-c1">null</span><span class="pl-kos">;</span>
@@ -117,7 +117,7 @@ <h3><a id="step-one-check-the-code-of-the-example" class="anchor" aria-hidden="t
117117
<html>
118118

119119
<body>
120-
<script src=&quot;https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@8.6.0/dist/dbr.js&quot;></script>
120+
<script src=&quot;https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@8.6.1/dist/dbr.js&quot;></script>
121121
<script>
122122
// initializes and uses the library
123123
let pScanner = null;
@@ -194,8 +194,8 @@ <h4><a id="use-a-cdn" class="anchor" aria-hidden="true" href="#use-a-cdn"><svg c
194194
<ul>
195195
<li>
196196
<p>jsDelivr</p>
197-
<div class="highlight highlight-text-html-basic position-relative"><pre><span class="pl-kos">&lt;</span><span class="pl-ent">script</span> <span class="pl-c1">src</span>="<span class="pl-s">https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@8.6.0/dist/dbr.js</span>"<span class="pl-kos">&gt;</span><span class="pl-kos">&lt;/</span><span class="pl-ent">script</span><span class="pl-kos">&gt;</span></pre><div class="zeroclipboard-container position-absolute right-0 top-0">
198-
<clipboard-copy aria-label="Copy" class="ClipboardButton btn js-clipboard-copy m-2 p-0 tooltipped-no-delay" data-copy-feedback="Copied!" data-tooltip-direction="w" value="<script src=&quot;https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@8.6.0/dist/dbr.js&quot;></script>
197+
<div class="highlight highlight-text-html-basic position-relative"><pre><span class="pl-kos">&lt;</span><span class="pl-ent">script</span> <span class="pl-c1">src</span>="<span class="pl-s">https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@8.6.1/dist/dbr.js</span>"<span class="pl-kos">&gt;</span><span class="pl-kos">&lt;/</span><span class="pl-ent">script</span><span class="pl-kos">&gt;</span></pre><div class="zeroclipboard-container position-absolute right-0 top-0">
198+
<clipboard-copy aria-label="Copy" class="ClipboardButton btn js-clipboard-copy m-2 p-0 tooltipped-no-delay" data-copy-feedback="Copied!" data-tooltip-direction="w" value="<script src=&quot;https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@8.6.1/dist/dbr.js&quot;></script>
199199
" tabindex="0" role="button">
200200
<svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-paste js-clipboard-clippy-icon m-2">
201201
<path fill-rule="evenodd" d="M5.75 1a.75.75 0 00-.75.75v3c0 .414.336.75.75.75h4.5a.75.75 0 00.75-.75v-3a.75.75 0 00-.75-.75h-4.5zm.75 3V2.5h3V4h-3zm-2.874-.467a.75.75 0 00-.752-1.298A1.75 1.75 0 002 3.75v9.5c0 .966.784 1.75 1.75 1.75h8.5A1.75 1.75 0 0014 13.25v-9.5a1.75 1.75 0 00-.874-1.515.75.75 0 10-.752 1.298.25.25 0 01.126.217v9.5a.25.25 0 01-.25.25h-8.5a.25.25 0 01-.25-.25v-9.5a.25.25 0 01.126-.217z"></path>
@@ -208,8 +208,8 @@ <h4><a id="use-a-cdn" class="anchor" aria-hidden="true" href="#use-a-cdn"><svg c
208208
</li>
209209
<li>
210210
<p>UNPKG</p>
211-
<div class="highlight highlight-text-html-basic position-relative"><pre><span class="pl-kos">&lt;</span><span class="pl-ent">script</span> <span class="pl-c1">src</span>="<span class="pl-s">https://unpkg.com/dynamsoft-javascript-barcode@8.6.0/dist/dbr.js</span>"<span class="pl-kos">&gt;</span><span class="pl-kos">&lt;/</span><span class="pl-ent">script</span><span class="pl-kos">&gt;</span></pre><div class="zeroclipboard-container position-absolute right-0 top-0">
212-
<clipboard-copy aria-label="Copy" class="ClipboardButton btn js-clipboard-copy m-2 p-0 tooltipped-no-delay" data-copy-feedback="Copied!" data-tooltip-direction="w" value="<script src=&quot;https://unpkg.com/dynamsoft-javascript-barcode@8.6.0/dist/dbr.js&quot;></script>
211+
<div class="highlight highlight-text-html-basic position-relative"><pre><span class="pl-kos">&lt;</span><span class="pl-ent">script</span> <span class="pl-c1">src</span>="<span class="pl-s">https://unpkg.com/dynamsoft-javascript-barcode@8.6.1/dist/dbr.js</span>"<span class="pl-kos">&gt;</span><span class="pl-kos">&lt;/</span><span class="pl-ent">script</span><span class="pl-kos">&gt;</span></pre><div class="zeroclipboard-container position-absolute right-0 top-0">
212+
<clipboard-copy aria-label="Copy" class="ClipboardButton btn js-clipboard-copy m-2 p-0 tooltipped-no-delay" data-copy-feedback="Copied!" data-tooltip-direction="w" value="<script src=&quot;https://unpkg.com/dynamsoft-javascript-barcode@8.6.1/dist/dbr.js&quot;></script>
213213
" tabindex="0" role="button">
214214
<svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-paste js-clipboard-clippy-icon m-2">
215215
<path fill-rule="evenodd" d="M5.75 1a.75.75 0 00-.75.75v3c0 .414.336.75.75.75h4.5a.75.75 0 00.75-.75v-3a.75.75 0 00-.75-.75h-4.5zm.75 3V2.5h3V4h-3zm-2.874-.467a.75.75 0 00-.752-1.298A1.75 1.75 0 002 3.75v9.5c0 .966.784 1.75 1.75 1.75h8.5A1.75 1.75 0 0014 13.25v-9.5a1.75 1.75 0 00-.874-1.515.75.75 0 10-.752 1.298.25.25 0 01.126.217v9.5a.25.25 0 01-.25.25h-8.5a.25.25 0 01-.25-.25v-9.5a.25.25 0 01.126-.217z"></path>
@@ -260,8 +260,8 @@ <h4><a id="host-the-library-yourself-recommended" class="anchor" aria-hidden="tr
260260
</li>
261261
</ul>
262262
<p>Depending on how you downloaded the library and where you put it. You can typically include it like this:</p>
263-
<div class="highlight highlight-text-html-basic position-relative"><pre><span class="pl-kos">&lt;</span><span class="pl-ent">script</span> <span class="pl-c1">src</span>="<span class="pl-s">/DBR-JS-8.6.0/dist/dbr.js</span>"<span class="pl-kos">&gt;</span><span class="pl-kos">&lt;/</span><span class="pl-ent">script</span><span class="pl-kos">&gt;</span></pre><div class="zeroclipboard-container position-absolute right-0 top-0">
264-
<clipboard-copy aria-label="Copy" class="ClipboardButton btn js-clipboard-copy m-2 p-0 tooltipped-no-delay" data-copy-feedback="Copied!" data-tooltip-direction="w" value="<script src=&quot;/DBR-JS-8.6.0/dist/dbr.js&quot;></script>
263+
<div class="highlight highlight-text-html-basic position-relative"><pre><span class="pl-kos">&lt;</span><span class="pl-ent">script</span> <span class="pl-c1">src</span>="<span class="pl-s">/DBR-JS-8.6.1/dist/dbr.js</span>"<span class="pl-kos">&gt;</span><span class="pl-kos">&lt;/</span><span class="pl-ent">script</span><span class="pl-kos">&gt;</span></pre><div class="zeroclipboard-container position-absolute right-0 top-0">
264+
<clipboard-copy aria-label="Copy" class="ClipboardButton btn js-clipboard-copy m-2 p-0 tooltipped-no-delay" data-copy-feedback="Copied!" data-tooltip-direction="w" value="<script src=&quot;/DBR-JS-8.6.1/dist/dbr.js&quot;></script>
265265
" tabindex="0" role="button">
266266
<svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-paste js-clipboard-clippy-icon m-2">
267267
<path fill-rule="evenodd" d="M5.75 1a.75.75 0 00-.75.75v3c0 .414.336.75.75.75h4.5a.75.75 0 00.75-.75v-3a.75.75 0 00-.75-.75h-4.5zm.75 3V2.5h3V4h-3zm-2.874-.467a.75.75 0 00-.752-1.298A1.75 1.75 0 002 3.75v9.5c0 .966.784 1.75 1.75 1.75h8.5A1.75 1.75 0 0014 13.25v-9.5a1.75 1.75 0 00-.874-1.515.75.75 0 10-.752 1.298.25.25 0 01.126.217v9.5a.25.25 0 01-.25.25h-8.5a.25.25 0 01-.25-.25v-9.5a.25.25 0 01.126-.217z"></path>
@@ -325,8 +325,8 @@ <h4><a id="specify-the-license" class="anchor" aria-hidden="true" href="#specify
325325
</clipboard-copy>
326326
</div></div>
327327
<p>Or</p>
328-
<div class="highlight highlight-text-html-basic position-relative"><pre><span class="pl-kos">&lt;</span><span class="pl-ent">script</span> <span class="pl-c1">src</span>="<span class="pl-s">https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@8.6.0/dist/dbr.js</span>" <span class="pl-c1">data-productKeys</span>="<span class="pl-s">t0068NQAAACgTVU2aucyxqETXKkiomqhV7YoLrnqjLiQQRSH5DBV1UtIs4...</span>"<span class="pl-kos">&gt;</span><span class="pl-kos">&lt;/</span><span class="pl-ent">script</span><span class="pl-kos">&gt;</span></pre><div class="zeroclipboard-container position-absolute right-0 top-0">
329-
<clipboard-copy aria-label="Copy" class="ClipboardButton btn js-clipboard-copy m-2 p-0 tooltipped-no-delay" data-copy-feedback="Copied!" data-tooltip-direction="w" value="<script src=&quot;https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@8.6.0/dist/dbr.js&quot; data-productKeys=&quot;t0068NQAAACgTVU2aucyxqETXKkiomqhV7YoLrnqjLiQQRSH5DBV1UtIs4...&quot;></script>
328+
<div class="highlight highlight-text-html-basic position-relative"><pre><span class="pl-kos">&lt;</span><span class="pl-ent">script</span> <span class="pl-c1">src</span>="<span class="pl-s">https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@8.6.1/dist/dbr.js</span>" <span class="pl-c1">data-productKeys</span>="<span class="pl-s">t0068NQAAACgTVU2aucyxqETXKkiomqhV7YoLrnqjLiQQRSH5DBV1UtIs4...</span>"<span class="pl-kos">&gt;</span><span class="pl-kos">&lt;/</span><span class="pl-ent">script</span><span class="pl-kos">&gt;</span></pre><div class="zeroclipboard-container position-absolute right-0 top-0">
329+
<clipboard-copy aria-label="Copy" class="ClipboardButton btn js-clipboard-copy m-2 p-0 tooltipped-no-delay" data-copy-feedback="Copied!" data-tooltip-direction="w" value="<script src=&quot;https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@8.6.1/dist/dbr.js&quot; data-productKeys=&quot;t0068NQAAACgTVU2aucyxqETXKkiomqhV7YoLrnqjLiQQRSH5DBV1UtIs4...&quot;></script>
330330
" tabindex="0" role="button">
331331
<svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-paste js-clipboard-clippy-icon m-2">
332332
<path fill-rule="evenodd" d="M5.75 1a.75.75 0 00-.75.75v3c0 .414.336.75.75.75h4.5a.75.75 0 00.75-.75v-3a.75.75 0 00-.75-.75h-4.5zm.75 3V2.5h3V4h-3zm-2.874-.467a.75.75 0 00-.752-1.298A1.75 1.75 0 002 3.75v9.5c0 .966.784 1.75 1.75 1.75h8.5A1.75 1.75 0 0014 13.25v-9.5a1.75 1.75 0 00-.874-1.515.75.75 0 10-.752 1.298.25.25 0 01.126.217v9.5a.25.25 0 01-.25.25h-8.5a.25.25 0 01-.25-.25v-9.5a.25.25 0 01.126-.217z"></path>
@@ -340,10 +340,10 @@ <h4><a id="specify-the-location-of-the-engine-files" class="anchor" aria-hidden=
340340
<p>The "engine" files refer to *.worker.js, *.wasm.js and *.wasm, etc. which are loaded by the main library at runtime. This configuration option uses the API <code>engineResourcePath</code> and is often not required as these files usually are in the same location with the main library file (dbr.js). However, in cases where the engine files are not in the same location as the main library file (for example, with frameworks like Angular or React, dbr.js is compiled into another file), this configuration will be required.</p>
341341
<p>The following code uses the jsDelivr CDN, feel free to change it to your own location of these files.</p>
342342
<div class="highlight highlight-source-js position-relative"><pre><span class="pl-k">import</span> <span class="pl-c1">DBR</span> <span class="pl-k">from</span> <span class="pl-s">"dynamsoft-javascript-barcode"</span><span class="pl-kos">;</span>
343-
<span class="pl-c1">DBR</span><span class="pl-kos">.</span><span class="pl-c1">BarcodeScanner</span><span class="pl-kos">.</span><span class="pl-c1">engineResourcePath</span> <span class="pl-c1">=</span> <span class="pl-s">"https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@8.6.0/dist/"</span><span class="pl-kos">;</span>
343+
<span class="pl-c1">DBR</span><span class="pl-kos">.</span><span class="pl-c1">BarcodeScanner</span><span class="pl-kos">.</span><span class="pl-c1">engineResourcePath</span> <span class="pl-c1">=</span> <span class="pl-s">"https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@8.6.1/dist/"</span><span class="pl-kos">;</span>
344344
<span class="pl-k">export</span> <span class="pl-k">default</span> <span class="pl-c1">DBR</span><span class="pl-kos">;</span></pre><div class="zeroclipboard-container position-absolute right-0 top-0">
345345
<clipboard-copy aria-label="Copy" class="ClipboardButton btn js-clipboard-copy m-2 p-0 tooltipped-no-delay" data-copy-feedback="Copied!" data-tooltip-direction="w" value="import DBR from &quot;dynamsoft-javascript-barcode&quot;;
346-
DBR.BarcodeScanner.engineResourcePath = &quot;https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@8.6.0/dist/&quot;;
346+
DBR.BarcodeScanner.engineResourcePath = &quot;https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@8.6.1/dist/&quot;;
347347
export default DBR;
348348
" tabindex="0" role="button">
349349
<svg aria-hidden="true" height="16" viewBox="0 0 16 16" version="1.1" width="16" data-view-component="true" class="octicon octicon-paste js-clipboard-clippy-icon m-2">

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ The complete code of the "Hello World" example is shown below
5858
<html>
5959

6060
<body>
61-
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@8.6.0/dist/dbr.js"></script>
61+
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@8.6.1/dist/dbr.js"></script>
6262
<script>
6363
// initializes and uses the library
6464
let pScanner = null;
@@ -125,13 +125,13 @@ The simplest way to include the library is to use either the [jsDelivr](https://
125125
* jsDelivr
126126

127127
``` html
128-
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@8.6.0/dist/dbr.js"></script>
128+
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@8.6.1/dist/dbr.js"></script>
129129
```
130130

131131
* UNPKG
132132

133133
``` html
134-
<script src="https://unpkg.com/dynamsoft-javascript-barcode@8.6.0/dist/dbr.js"></script>
134+
<script src="https://unpkg.com/dynamsoft-javascript-barcode@8.6.1/dist/dbr.js"></script>
135135
```
136136

137137
#### Host the library yourself (recommended)
@@ -159,7 +159,7 @@ The following shows a few ways to download the library.
159159
Depending on how you downloaded the library and where you put it. You can typically include it like this:
160160

161161
``` html
162-
<script src="/DBR-JS-8.6.0/dist/dbr.js"></script>
162+
<script src="/DBR-JS-8.6.1/dist/dbr.js"></script>
163163
```
164164

165165
or
@@ -201,7 +201,7 @@ Dynamsoft.DBR.BarcodeReader.productKeys = "t0068NQAAACgTVU2aucyxqETXKkiomqhV7YoL
201201
Or
202202

203203
```html
204-
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@8.6.0/dist/dbr.js" data-productKeys="t0068NQAAACgTVU2aucyxqETXKkiomqhV7YoLrnqjLiQQRSH5DBV1UtIs4..."></script>
204+
<script src="https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@8.6.1/dist/dbr.js" data-productKeys="t0068NQAAACgTVU2aucyxqETXKkiomqhV7YoLrnqjLiQQRSH5DBV1UtIs4..."></script>
205205
```
206206

207207
#### Specify the location of the "engine" files
@@ -212,7 +212,7 @@ The following code uses the jsDelivr CDN, feel free to change it to your own loc
212212

213213
``` javascript
214214
import DBR from "dynamsoft-javascript-barcode";
215-
DBR.BarcodeScanner.engineResourcePath = "https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@8.6.0/dist/";
215+
DBR.BarcodeScanner.engineResourcePath = "https://cdn.jsdelivr.net/npm/dynamsoft-javascript-barcode@8.6.1/dist/";
216216
export default DBR;
217217
```
218218

File renamed without changes.
File renamed without changes.
File renamed without changes.

dist/dbr-8.6.0.node.wasm.js renamed to dist/dbr-8.6.1.node.wasm.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
File renamed without changes.
File renamed without changes.
File renamed without changes.

dist/dbr.browser.mjs

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)