Skip to content

Instantly share code, notes, and snippets.

@sideshowcoder
Created March 28, 2012 08:23
Show Gist options
  • Save sideshowcoder/2224727 to your computer and use it in GitHub Desktop.
Save sideshowcoder/2224727 to your computer and use it in GitHub Desktop.
Test if my server is up
$.getScript(base_url + "vapor.js?" + new Date().getTime())
.fail(function(jqxhr, settings, exception) {
fallback();
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment