JQuery的源码阅读

探索原理,animation实现,一个对象可以同时绑定多个事件,这是如何实现的?

(function(window, undefined) {
    function jQuery(selector){
        return new jQuery.fn.init(selector)
    }
    jQuery.fn = jQuery.prototype = {
        init: function () {

        }
    }
    jQuery.fn.init.prototype = jQuery.fn;
    window.jQuery = window.$ = jQuery;
})(window)
原文地址:https://www.cnblogs.com/camille666/p/jquery_code.html