摘要: 先看document的两个常见method。 document.createTextNode Constructor: Text document.createElement Constructor: HTML*Element Constructor: Text Constructor: HTML* 阅读全文
posted @ 2016-05-10 10:00 薄荷君 阅读(2242) 评论(0) 推荐(0) 编辑
摘要: "End of Line"行结束符,由"CR", "LF"组合构成,有几种可能: "CR", “LF”, "CR"+"LF"等。 经实测, Windows中的GitBash、Linux的行结束符为“LF”, Windows的行结束符为"CR"+"LF" "CR" 对应\r "LF" 对应\n 阅读全文
posted @ 2016-05-01 09:40 薄荷君 阅读(12088) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2016-04-28 08:39 薄荷君 阅读(2) 评论(0) 推荐(0) 编辑
摘要: (function () { var blob = new Blob(['content'], {type: 'text/plain; charset=utf-8'}), blobUrl = URL.createObjectURL(blob), node = document.createElement('a'); node.href = blo... 阅读全文
posted @ 2016-04-11 10:16 薄荷君 阅读(360) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2016-03-31 16:53 薄荷君 阅读(1) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2016-03-31 11:35 薄荷君 阅读(0) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2016-03-30 11:15 薄荷君 阅读(5) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2016-03-18 14:53 薄荷君 阅读(2) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2016-03-17 16:53 薄荷君 阅读(0) 评论(0) 推荐(0) 编辑
摘要: ref: http://jingyan.baidu.com/article/29697b912f9939ab20de3c8c.html 阅读全文
posted @ 2016-03-15 17:42 薄荷君 阅读(116) 评论(0) 推荐(0) 编辑