// Define a local copy of jQueryjQuery=function( selector, context ){
// The jQuery object is actually just the init constructor 'enhanced'// Need init if jQuery is called (just allow error to be thrown if not included)returnnewjQuery.fn.init( selector, context );},
源码中看到,jQuery对象被调用是需要init()构造函数初始化,再查看一下init()函数。
// Initialize a jQuery object// A central reference to the root jQuery(document)var rootjQuery,// A simple way to check for HTML strings// Pri