Skip to content

Instantly share code, notes, and snippets.

@elliotboney
Created September 19, 2013 04:53
Show Gist options
  • Save elliotboney/6619257 to your computer and use it in GitHub Desktop.
Save elliotboney/6619257 to your computer and use it in GitHub Desktop.
Smallest dom ready ever in js From http://dustindiaz.com/smallest-domready-ever
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