2018年1月8日

【js】简单模拟JQuery原理

摘要: /* 模拟工厂函数 */ function L(selector){ var eles = document.querySelectorAll(selector); var obj =new LQuery(); eles.forEach(function(item,index){ obj[index 阅读全文

posted @ 2018-01-08 00:42 0X000 阅读(116) 评论(0) 推荐(0) 编辑

导航