Skip to content

Instantly share code, notes, and snippets.

@JDMcKinstry
Created February 27, 2012 22:50
Show Gist options
  • Save JDMcKinstry/1927695 to your computer and use it in GitHub Desktop.
Save JDMcKinstry/1927695 to your computer and use it in GitHub Desktop.
// Makes the initial jQuery ready call for ya and then proceeds
// to look at what you're wanting to do with the jQuery library
(function($) {
/* do work*/
})(jQuery); // This closure ensure that your "plug-in" doesn't interfere with other plugins or libraries
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment