Skip to content

Commit

Permalink
chore: Readme update
Browse files Browse the repository at this point in the history
  • Loading branch information
sakul-budhathoki committed Jun 11, 2024
1 parent c9369df commit 14390a3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,11 @@ Vanilla JS
<body>
<div id="svg-container"></div>
</body>
<script src="https://unpkg.com/@intosoft/qrcode@0.0.8/dist/iife/index.js"></script>
<script src="https://unpkg.com/@intosoft/qrcode@0.1.0/dist/iife/index.js"></script>
<script>
window.addEventListener("load", function () {
const config = {}; //paste config here
const svgString = window.custoqr.generateSVGString(config);
const svgString = window.qrcode.generateSVGString(config);
document.getElementById("svg-container").innerHTML = svgString;
});
</script>
Expand Down

0 comments on commit 14390a3

Please sign in to comment.