摘要:
(function(window){ var com = function(box){ this.box = document.querySelector(box); } window.zhanglei = function(box){ return new com(box); } com.prototype ={ addClass:function(cl... 阅读全文
posted @ 2016-12-01 22:01
<张磊>
阅读(184)
评论(0)
推荐(0)
摘要:
(function(window){ //传参以dom(el)方式输出 var o = { //去除空格 trim = function(str){ if(String.prototype.trim){ return str == null ? "" : String.prototype.tr... 阅读全文
posted @ 2016-12-01 03:20
<张磊>
阅读(1756)
评论(0)
推荐(0)

浙公网安备 33010602011771号