denis (owner)

Revisions

gist: 12656 Download_button fork
public
Description:
A simple jQuery plugin skeleton
Public Clone URL: git://gist.github.com/12656.git
Embed All Files: show embed
jquery.plugin_name.js #
1
2
3
4
5
6
7
8
9
10
11
12
13
14
(function ($) {
    $.fn.pluginName = function (settings) {
        settings = $.extend({
            param: 'value'
        }, settings);
 
        return this.each(
            function () {
                var $this = $(this);
                // plugin code here
            }
        );
    };
})(jQuery);