(function ($) { $.parser.plugins.push("viewer"); $(function () { //构造方法 }); })(jQuery);