Denis Barushev

Email: barushev@gmail.com

A Simple jQuery Plugin Skeleton

(function ($) {
    $.fn.pluginName = function (settings) {
        settings = $.extend({
            param: 'value'
        }, settings);

        return this.each(
            function () {
                var $this = $(this);
                // plugin code here
            }
        );
    };
})(jQuery);

http://gist.github.com/12656