You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+5-3Lines changed: 5 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -104,7 +104,7 @@ QRCode.toCanvas(canvas, 'sample text', function (error) {
104
104
```html
105
105
<canvasid="canvas"></canvas>
106
106
107
-
<scriptsrc="/build/qrcode.min.js"></script>
107
+
<scriptsrc="/build/qrcode.js"></script>
108
108
<script>
109
109
QRCode.toCanvas(document.getElementById('canvas'), 'sample text', function (error) {
110
110
if (error) console.error(error)
@@ -113,7 +113,9 @@ QRCode.toCanvas(canvas, 'sample text', function (error) {
113
113
</script>
114
114
```
115
115
116
-
If you install through `npm`, precompiled files will be available in `node_modules/qrcode/build/` folder.<br>
116
+
If you install through `npm`, precompiled files will be available in `node_modules/qrcode/build/` folder.
117
+
118
+
The precompiled bundle have support for [Internet Explorer 10+, Safari 5.1+, and all evergreen browsers](https://browserl.ist/?q=defaults%2C+IE+%3E%3D+10%2C+Safari+%3E%3D+5.1).
117
119
118
120
### NodeJS
119
121
Require the module `qrcode`
@@ -347,7 +349,7 @@ QRCode.toFile(
347
349
)
348
350
```
349
351
350
-
TypeScript users: if you are using [@types/qrcode](https://www.npmjs.com/package/@types/qrcode), you will need to add a `// @ts-ignore` above the data segment because it expects `data: string`.
352
+
TypeScript users: if you are using [@types/qrcode](https://www.npmjs.com/package/@types/qrcode), you will need to add a `// @ts-ignore` above the data segment because it expects `data: string`.
351
353
352
354
## Multibyte characters
353
355
Support for multibyte characters isn't present in the initial QR Code standard, but is possible to encode UTF-8 characters in Byte mode.
0 commit comments