JQuery 

(function (window,undefined){
    var jQuery = function(selector, context){
             return new jQuery.fn.init(selector,context);   
    }
   jQuery.fn = jQuery.prototype = {
       init: function (selector, undefined){
      //todo sth initialization return this: }} jQuery.fn.init.prototype = jQuery.fn; window.jQuery = window.$ = jQuery; })(window);

  

相关文章:

  • 2021-09-26
猜你喜欢
  • 2021-08-31
相关资源
相似解决方案