Skip to content

Commit c7ade80

Browse files
authored
fix #42
1 parent 44a9efa commit c7ade80

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ Or just import an script tag from your favorite NPM registry connected CDN:
4545

4646
```html
4747
<script type="module">
48-
import { BrowserQRCodeReader } from '@zxing/library';
48+
import { BrowserQRCodeReader } from '@zxing/browser';
4949
5050
const codeReader = new BrowserQRCodeReader();
5151
@@ -58,7 +58,7 @@ Or just import an script tag from your favorite NPM registry connected CDN:
5858

5959
```html
6060
<script type="module">
61-
import('@zxing/library').then({ BrowserQRCodeReader } => {
61+
import('@zxing/browser').then({ BrowserQRCodeReader } => {
6262
6363
const codeReader = new BrowserQRCodeReader();
6464
@@ -73,7 +73,7 @@ Or just import an script tag from your favorite NPM registry connected CDN:
7373
```html
7474
<script type="text/javascript" src="https://unpkg.com/requirejs"></script>
7575
<script type="text/javascript">
76-
require(['@zxing/library'], ZXingBrowser => {
76+
require(['@zxing/browser'], ZXingBrowser => {
7777
7878
const codeReader = new ZXingBrowser.BrowserQRCodeReader();
7979
@@ -193,5 +193,5 @@ You can also customize some options on the code reader at instantiation time. Mo
193193

194194
[![Bless](https://cdn.rawgit.com/LunaGao/BlessYourCodeTag/master/tags/alpaca.svg)](http://lunagao.github.io/BlessYourCodeTag/)
195195

196-
[0]: https://www.npmjs.com/package/@zxing/library
196+
[0]: https://www.npmjs.com/package/@zxing/browser
197197
[1]: https://github.com/zxing/zxing

0 commit comments

Comments
 (0)