Skip to content

Instantly share code, notes, and snippets.

@sixtyfive
Created August 10, 2011 09:54
Show Gist options
  • Save sixtyfive/1136482 to your computer and use it in GitHub Desktop.
Save sixtyfive/1136482 to your computer and use it in GitHub Desktop.
setInterval(function() {
$.get('/runs?info=started', function(started) {
if (started == 'true') {
$.get('/runs?info=first_exercise'), function(url) { // This here
alert(url); // does not
}); // work... :-(
} else {
alert("Has not started yet...")
}
});
}, 1000);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment