上一页 1 ··· 5 6 7 8 9 10 11 12 13 14 下一页
  2014年5月14日
摘要: http://www.mrdoob.com/#/131/cloudshttp://www.webgl.com/2012/03/webgl-demo-clouds/ 1 2 3 4 5 Mr.doob 6 128 1... 阅读全文
posted @ 2014-05-14 23:34 yoyo002 阅读(2263) 评论(0) 推荐(0) 编辑
  2014年5月11日
摘要: PPT:http://www.slideshare.net/DreamFactorySoftware/angularjs-and-rest-made-simpleblog:http://blog.dreamfactory.com/video:https://www.youtube.com/watch... 阅读全文
posted @ 2014-05-11 09:10 yoyo002 阅读(479) 评论(0) 推荐(0) 编辑
  2014年4月8日
摘要: this.contentPane = new ContentPane(); this.set("content", this.contentPane.domNode); this.contentPane.startup(); 阅读全文
posted @ 2014-04-08 15:47 yoyo002 阅读(193) 评论(0) 推荐(0) 编辑
  2014年3月30日
摘要: NPM国内镜像http://npm.hacknodejs.com/http://registry.npmjs.vitecho.com/https://registry.npm.taobao.org永久使用镜像命令:npm config set registry https://registry.np... 阅读全文
posted @ 2014-03-30 13:06 yoyo002 阅读(7889) 评论(0) 推荐(0) 编辑
  2014年2月14日
摘要: 利用了js的闭包性质var uniqueNumber = (( function(){ var value = 0; return function(){ return ++value; }; })());使用uniqueNumber()1uniqueNumber()2uniqueNumber()3uniqueNumber()4uniqueNumber()5uniqueNumber()6 阅读全文
posted @ 2014-02-14 12:03 yoyo002 阅读(1844) 评论(0) 推荐(0) 编辑
摘要: function delay(value){//全局变量保存当前值 window._myTempDalayValue = value; setTimeout(function(){//延时之后与全局变量保存的当前值进行比较。其中value是保存的函数执行时的值。//即,函数执行时的值与延时后的全局变量(当前值)一致,则执行 if(value===window._myTempDalayValue){ console.log("execute"); }else{//不一致,则执行 console.log("fail"); }},5000);}这是一个利用js 阅读全文
posted @ 2014-02-14 11:56 yoyo002 阅读(14802) 评论(0) 推荐(1) 编辑
  2013年11月6日
摘要: https://www.mapbox.com/可以自定义地图,并放到dropbox中。时间有限,更多功能有待发现可以用他的切片 http://a.tiles.mapbox.com/v3/jambo13.map-kjwhuag9/${z}/${x}/${y}.png 阅读全文
posted @ 2013-11-06 10:12 yoyo002 阅读(1804) 评论(0) 推荐(0) 编辑
  2013年11月4日
摘要: 转自:http://www.iefans.net/ie-shangchuan-bendi-lujing-fakepath/在使用控件上传文件时,有时会需要获取文件本地路径展示给客户,这时可以通过这样的方式获取文件本地路径:document.getElementById('file_upl').value这在IE7及以前的IE浏览器版本上都没有问题,但是到IE8上面,就不行了,在IE8中你只会获取到这样的路径:"C:\fakepath\xxx”,其中xxx是你的文件名。这是怎么回事呢?原来,IE8出于安全性的考虑,上传文件时屏蔽了真实的本地文件路径,而以“C:\fake 阅读全文
posted @ 2013-11-04 16:28 yoyo002 阅读(648) 评论(1) 推荐(0) 编辑
  2013年10月30日
摘要: JS读取client端的文件内容的代码片段if(window.FileReader){ var html5file = this.pipeDetailFileUpLoader._files[0]; var reader = new FileReader(); reader.onload = lang.hitch(this,function(f) { console.log(f.target.result); }); //reader.readAsDataURL(htm... 阅读全文
posted @ 2013-10-30 16:11 yoyo002 阅读(378) 评论(0) 推荐(0) 编辑
  2013年8月19日
摘要: 周末无意中了解了Web Component的概念。http://blog.amowu.com/2013/06/web-components.htmlhttp://www.v2ex.com/t/69389http://www.infoq.com/cn/news/2013/06/webcomponentsShadow DOMhttp://www.toobug.net/article/what_is_shadow_dom.htmlhttp://www.html5rocks.com/en/tutorials/webcomponents/shadowdom/https://plus.google.com 阅读全文
posted @ 2013-08-19 10:05 yoyo002 阅读(672) 评论(0) 推荐(0) 编辑
上一页 1 ··· 5 6 7 8 9 10 11 12 13 14 下一页