04 2016 档案
摘要:grunt-spritesmith https://www.npmjs.com/package/grunt-spritesmith
阅读全文
摘要:如果系统中有一些配置文件在服务器上做了配置修改,然后后续开发又新添加一些配置项的时候, 在发布这个配置文件的时候,会发生代码冲突: error: Your local changes to the following files would be overwritten by merge: prot
阅读全文
摘要:attachEvent方法可以动态的为网页内的元素添加一个事件.通常你想为某个按扭添加一个单击事件时.你都会在按扭内写上onclick=事件名称.使用attachEvent则不必这样做.你把写好的事件准备好,在需要的时候给元素绑定上再执行.而且attachEvent支持为某个元素绑定多个事件.执行顺
阅读全文
摘要:var str = "2016年4月11日";str= str.replace(/[\u5e74|\u6708]/g,"-").replace(/\u65e5/g,"");
阅读全文
摘要:var a = ["2013-01","2013-01","2013-02","2013-02","2013-02","2013-03","2013-03"]; Array.prototype.del = function() { var a = {}, c = [], l = this.lengt
阅读全文
浙公网安备 33010602011771号