Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ashfame/1922918 to your computer and use it in GitHub Desktop.
Save ashfame/1922918 to your computer and use it in GitHub Desktop.
Best way to wrap up your jQuery code for avoiding conflicts
(function($){
// Regular jQuery code inside
$(document).ready(function(){
});
})(jQuery);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment