摘要: function globalEval(data){ data = data.replace(/^\s* | \s*$/g,""); if(data){ var head = document.getElementsByTagName("head")[0] || document.documentElement,script = document.createEl... 阅读全文
posted @ 2017-11-21 22:42 halo-漾 阅读(147) 评论(0) 推荐(0) 编辑
摘要: var timer = { timerId : 0, timers : [], add : function(fn){ this.timers.push(fn); }, start : function(){ if(this.time... 阅读全文
posted @ 2017-11-21 21:11 halo-漾 阅读(193) 评论(0) 推荐(0) 编辑