摘要: 1 function $$(selector,context){ 2 context=context||document; 3 var elements=context.querySelectorAll(selector); 4 return Array.prototype.slice.call(elements); 5 } 阅读全文
posted @ 2016-12-28 19:39 cgcg 阅读(152) 评论(0) 推荐(0) 编辑