摘要: var $ = function (obj) { if (!obj) return null; if (typeof (obj) === "object") { return new B(obj); } else if (typeof (obj) === "string") { if (obj.indexOf("#") === 0) { return new B(document.querySelector(obj)); } else { return new B(doc... 阅读全文
posted @ 2014-02-22 17:08 lan 阅读(339) 评论(0) 推荐(0) 编辑