-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
not working on my shopify store can you please help? #2
Comments
Hi, maybe you are missing the dependency? |
can you please dependency file?
…On Wed, 23 Feb 2022 at 05:09, Hugh Chen ***@***.***> wrote:
Hi, maybe you are missing the dependency?
—
Reply to this email directly, view it on GitHub
<#2 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ARJU7ODZ5HON3IEXGZCZ3WLU4QQUZANCNFSM5PCKV3YQ>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
😚😎😍😋😊😉😆😆😆😆😆🚻🚻
On Wed, 23 Feb 2022 at 20:29, Aaqib Ali Ghuman ***@***.***>
wrote:
… can you please dependency file?
On Wed, 23 Feb 2022 at 05:09, Hugh Chen ***@***.***> wrote:
> Hi, maybe you are missing the dependency?
>
> —
> Reply to this email directly, view it on GitHub
> <#2 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/ARJU7ODZ5HON3IEXGZCZ3WLU4QQUZANCNFSM5PCKV3YQ>
> .
> Triage notifications on the go with GitHub Mobile for iOS
> <https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
> or Android
> <https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
>
> You are receiving this because you authored the thread.Message ID:
> ***@***.***>
>
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am trying to add this on Shopify but it's not working I am getting this error in the console.
Uncaught TypeError: Cannot read properties of undefined (reading 'makeCode')
at makeCode (index.js?v=8008257679650561710:195:10)
at HTMLButtonElement.onclick (qr-code-designer:1322:6)
that is the code error in the console..
// // Pad URL since we want more density
// maxLength = 40;
// if (url.length < maxLength) {
// url += "?/" + "0".repeat(maxLength - url.length);
// }
// Generate URL bits
qrcode.makeCode(url);
// Manually draw canvas
QRMatrix = qrcode._oQRCode.modules;
QRLength = QRMatrix.length;
// Form canvas
canvas = document.getElementById("myCanvas");
ctx = canvas.getContext("2d");
// QR code sizing
bitLength = 10;
canvasLength = bitLength * (QRLength + borderSizeValue * 2);
canvas.width = canvasLength;
that is where I am getting error...
here is my page URL can you please help.
[https://www.starkandcodesigns.com/pages/qr-code-designer
The text was updated successfully, but these errors were encountered: