Skip to content

Instantly share code, notes, and snippets.

@yuriitaran
Forked from agragregra/jQuery.newPlugin.js
Created February 4, 2018 11:01
Show Gist options
  • Save yuriitaran/3243efffbea33671ccfae4dce2850db6 to your computer and use it in GitHub Desktop.
Save yuriitaran/3243efffbea33671ccfae4dce2850db6 to your computer and use it in GitHub Desktop.
jQuery New Plugin
$.fn.myNewPlugin = function() {
return this.each(function() {
// Do something to each element here.
});
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment