@Author: xiugang * @Time: 20180722
@Desc: 实现一个类似于JQuery功能的框架
V 1.0: 实现了基础框架
、事件框架
、CSS框架
、属性框架
、内容框架
、动画框架
的搭建
V 2.0:实现了框架的进一步优化,具有良好的扩展性, 可以支持链式访问
V 3.0:种子模块:命名空间、对象扩展、数组化、类型的判定、domReady,无冲突处理
V 4.0: 数据类型的检测、正则表达式的基本用法,数据绑定的知识(模板的使用)
V 5.0:实现继承的基本理解,事件框架的封装和测试
V 6.0: 实现了CSS样式框架封装和测试
V 7.0: 实现了选择框架的封装和测试
V 8.0: 实现了属性框架的封装和测试
V 9.0: 实现了DOM框架的封装和测试
V 10.0:实现了本地存储框架的封装(缓存框架、cookie、Localstorage框架)
V 11.0 实现了动画框架的封装和本地测试
V 12.0 在每一个立即函数+闭包的前面添加;实现框架的兼容性
@Author: xiugang * @Time: 20180722
@Desc: Implement a framework similar to JQuery functionality
V 1.0: Implement the basic framework
, event framework
, CSS framework
, property framework
, content framework
, animation framework
V 2.0: Implemented further optimization of the framework, with good scalability, can support chained access
V 3.0: seed module: namespace, object extension, array, type determination, domReady, no conflict handling
V 4.0: Detection of data types, basic usage of regular expressions, knowledge of data binding (use of templates)
V 5.0: basic understanding of implementation inheritance, encapsulation and testing of event frameworks
V 6.0: implementation of CSS style frameworks Packaging and Testing
V 7.0: Encapsulation and testing of the selection framework is implemented
V 8.0: Encapsulation and testing of the attribute framework is implemented
V 9.0: Encapsulation and testing of the DOM framework is implemented
V 10.0: Encapsulation of the local storage framework is implemented (Cache Framework, Cookies, Localstorage Framework)
V 11.0 implements encapsulation and local testing of animation frameworks
V 12.0 in every immediate function + closure Added before; implements framework compatibility