摘要: http://jdc.jd.com/archives/3862 阅读全文
posted @ 2017-11-11 23:14 土豆何必为难土豆 阅读(68) 评论(0) 推荐(0) 编辑
摘要: http://jdc.jd.com/archives/4911 阅读全文
posted @ 2017-11-11 22:53 土豆何必为难土豆 阅读(117) 评论(0) 推荐(0) 编辑
摘要: http://www.imooc.com/article/19691 阅读全文
posted @ 2017-10-18 17:51 土豆何必为难土豆 阅读(110) 评论(0) 推荐(0) 编辑
摘要: 廖雪峰:http://www.liaoxuefeng.com/wiki/0013739516305929606dd18361248578c67b8067c8c017b000/0013752340242354807e192f02a44359908df8a5643103a000 git init初始化仓 阅读全文
posted @ 2017-05-22 18:26 土豆何必为难土豆 阅读(151) 评论(0) 推荐(0) 编辑
摘要: http://www.ruanyifeng.com/blog/2016/04/same-origin-policy.html 阅读全文
posted @ 2017-05-21 21:24 土豆何必为难土豆 阅读(95) 评论(0) 推荐(0) 编辑
摘要: 画圈: circle = new BMap.Circle(new BMap.Point(lg, lt), 2000, { fillColor: "blue", strokeWeight: 1, fillOpacity: 0.2, strokeOpacity: 0.2 });//半径2公里瞄点 map 阅读全文
posted @ 2017-05-12 11:39 土豆何必为难土豆 阅读(821) 评论(0) 推荐(0) 编辑
摘要: <script type="text/javascript" src="http://api.map.baidu.com/api?v=2.0&ak=ZUONbpqGBsYGXNIYHicvbAbM"></script> <script type="text/javascript" src="http 阅读全文
posted @ 2017-05-09 18:38 土豆何必为难土豆 阅读(991) 评论(0) 推荐(0) 编辑
摘要: 命令模式:将命令封装成对象A,他们可以被绑定到任何对象(target)中,这些命令并不会执行具体的逻辑,也不关心目标能不能执行,如: var A = function(target){ var open = function(){ return target.open&&target.open(); 阅读全文
posted @ 2017-04-10 21:47 土豆何必为难土豆 阅读(251) 评论(0) 推荐(0) 编辑
摘要: 判断是否为NaN类型:x!=x //true 当且仅当x为NaN时,x才不等于自身。 js数字精度值极其接近0.1,如:0.411 - 0.401,期待结果0.01,实际结果结果为0.009999999999999953;通过"\"符号连接字符串,拼接html字符串更简洁,更高效; parseInt 阅读全文
posted @ 2017-04-05 23:45 土豆何必为难土豆 阅读(182) 评论(0) 推荐(0) 编辑
摘要: 地址:http://blog.csdn.net/hardgirls/article/details/51722519 1.文字两端对齐,这里以p标签为例,兼容safri: p{ text-align:justify; } p:after{ content:''; *display:inline-bl 阅读全文
posted @ 2017-03-27 22:14 土豆何必为难土豆 阅读(108) 评论(0) 推荐(0) 编辑