-
-
Save robertosljunior/9911ce0e698dfe6a98ee664782cf8010 to your computer and use it in GitHub Desktop.
Smallest dom ready ever in js
From http://dustindiaz.com/smallest-domready-ever
This file contains 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 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