Skip to content

Instantly share code, notes, and snippets.

@eristoddle
Created November 6, 2012 16:46
Show Gist options
  • Save eristoddle/4025928 to your computer and use it in GitHub Desktop.
Save eristoddle/4025928 to your computer and use it in GitHub Desktop.
jQuery plugin template
(function($){
$.fn.myFunction = function(){
return this.each(function(i, obj){
var $this = $(obj);
});
}
})(jQuery);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment