Skip to content

Commit 04f46c6

Browse files
committed
Merge pull request #63 from markvantilburg/patch-1
Update README.md
2 parents 540308a + bd3de7f commit 04f46c6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,17 @@ new QRCode(document.getElementById("qrcode"), "http://jindo.dev.naver.com/collie
1313
or with some options
1414

1515
```
16-
var qrcode = new QRCode("test", {
16+
<div id="qrcode"></div>
17+
<script type="text/javascript">
18+
var qrcode = new QRCode(document.getElementById("qrcode"), {
1719
text: "http://jindo.dev.naver.com/collie",
1820
width: 128,
1921
height: 128,
2022
colorDark : "#000000",
2123
colorLight : "#ffffff",
2224
correctLevel : QRCode.CorrectLevel.H
2325
});
26+
</script>
2427
```
2528

2629
and you can use some methods

0 commit comments

Comments
 (0)