-
-
Save frankgeerlings/8023459 to your computer and use it in GitHub Desktop.
Skeleton of a basic jQuery extension.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*! | |
* What the extension does and who made it. | |
* | |
* Copyright 1970, Who Made It | |
* How it's licensed | |
*/ | |
(function($){ | |
$.fn.extend({ | |
extensionName: function(options) { | |
//Settings list and the default values | |
var defaults = { | |
}; | |
options = $.extend(defaults, options); | |
//code | |
} | |
}); | |
})(jQuery); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment