(function(){
/* window['hyl'] = {}  
 function $(){
 	alert("this is my message");
 }
 window['hyl']['$'] = $; */ 


var $ = jQuery = window.jQuery = function(){
    return new jQuery.fn.init();
}
jQuery.fn = jQuery.prototype = {
    init:function(){
    	alert("init");
        return this;
    },
    size:function(){
        alert("size11111");
    },
    jquery:"1.0.0"
}
jQuery.fn.init.prototype = jQuery.fn;
jQuery().size();

})()

  调用部分的代码

alert($().jquery);

 

相关文章:

  • 2021-04-29
  • 2021-04-06
  • 2021-06-23
  • 2021-11-09
  • 2021-11-11
  • 2022-12-23
  • 2021-08-30
  • 2021-12-04
猜你喜欢
  • 2022-12-23
  • 2022-01-13
  • 2022-12-23
  • 2022-12-23
  • 2021-08-01
  • 2021-10-12
  • 2022-12-23
相关资源
相似解决方案