网摘 |  收藏 | 

JQuery框架

        (function(global, factory) {
            factory(global);
        }(typeof window !== "undefined" ? window : this, function(window, noGlobal) {
            var jQuery = function( selector, context ) {
                return new jQuery.fn.init( selector, context );
            };
            jQuery.fn = jQuery.prototype = {};
            // 核心方法
            // 回调系统
            // 异步队列
            // 数据缓存
            // 队列操作
            // 选择器引
            // 属性操作
            // 节点遍历
            // 文档处理
            // 样式操作
            // 属性操作
            // 事件体系
            // AJAX交互
            // 动画引擎
            return jQuery;
        }));

 

posted @ 2015-03-29 22:35  xulonghua219  阅读(222)  评论(0编辑  收藏  举报