Skip to content

Instantly share code, notes, and snippets.

@nickwhitt
Created June 13, 2012 14:06
Show Gist options
  • Save nickwhitt/2924285 to your computer and use it in GitHub Desktop.
Save nickwhitt/2924285 to your computer and use it in GitHub Desktop.
jQuery Ready Equivalence
$(function() {
// Handler for .ready() called.
});
is equivalent to:
$(document).ready(function() {
// Handler for .ready() called.
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment