Skip to content

Instantly share code, notes, and snippets.

@350d
Created March 19, 2014 21:59
Show Gist options
  • Save 350d/9652333 to your computer and use it in GitHub Desktop.
Save 350d/9652333 to your computer and use it in GitHub Desktop.
Minimal DOM ready, IE tested
function r(f) {
/in/.test(document.readyState) ? setTimeout('r('+f+')',9) : f()
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment