摘要:
自己封装简易版的Jquery (function () { function jQuery (selector) { return new jQuery.prototype.init(selector); } jQuery.prototype.init = function (selector) { 阅读全文
摘要:
依赖加载简单实现方式 function loadScript(url, callback) { var script = document.createElement("script"); script.type = "text/javascript"; script.src = url; docu 阅读全文