Skip to content

Instantly share code, notes, and snippets.

@sike
Created November 6, 2012 09:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sike/4023671 to your computer and use it in GitHub Desktop.
Save sike/4023671 to your computer and use it in GitHub Desktop.
jquery.plugin.js
(function($) {
// plugin name
$.fn.productList = function(options) {
var _this = this;
// plugin options
var settings = $.extend({
// default settings
'param' : 'value'
}, options);
return this;
};
})(jQuery);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment