(function (factory) {
    if(typeof module === 'object' && typeof module.exports === 'object') {
        factory(require('jquery'), window, document);
    } else {
        factory(jQuery, window, document);
    }
})(function ($, window, document) {
    var OrganizePart = function(ele, opts) {
        this.$ele = $(ele);
        this.opts = opts;
        this.defaultConfig = {}
    };
    OrganizePart.prototype = {
        init: function() {
            var _this = this;
            _this.$options = $.extend({}, _this.defaultConfig, _this.opts);

        }
    };

    $.fn.OrganizePart = function(opts) {
        return new OrganizePart(this, opts).init();
    }
})

使用

$(function() {
        $("#pageContainer").OrganizePart({
            // "data": dataSource,
        })
    })