Skip to content
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

Refactor: Update image loading code to clear Error #13

Merged
merged 1 commit into from
Nov 23, 2020

Conversation

simonjvardy
Copy link
Owner

Uncaught TypeError: fix found on https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/drawImage
Commented out the async / await function and added an addEventListener() method to look for the Load

Uncaught TypeError: fix found on https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/drawImage
Commented out the async / await function and added an addEventListener() method to look for the Load
@simonjvardy simonjvardy added the bug Something isn't working label Nov 23, 2020
@simonjvardy simonjvardy self-assigned this Nov 23, 2020
@simonjvardy simonjvardy merged commit 67979f5 into master Nov 23, 2020
@simonjvardy simonjvardy deleted the 11-background-image-loading branch November 23, 2020 23:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unit Test: Unable to get the background image to load with async / await functions
1 participant