Created
March 19, 2017 17:55
-
-
Save crestinglight/f169aca8b337498359223629637cf60c to your computer and use it in GitHub Desktop.
This file contains hidden or 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 saveScore(e){ | |
var response = false; | |
if (e.target.responseText === "true"){ | |
response = true; | |
} | |
// This if statement checks to see if "didYouFindWaldo" | |
// returns true. If so, we move on to stop the timer. | |
if (response === true){ | |
timerData = endTimer(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment