Last active
November 19, 2018 20:37
-
-
Save strayblues/1560b9200c11e68f6339b53561c52ed3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function clearCanvas() { | |
if (confirm("Want to clear?")) { | |
context.clearRect(0, 0, w, h); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment