摘要: 第一步:打开设置 第二步: 第三部:apply 关闭设置 阅读全文
posted @ 2019-09-20 17:49 ~噜啦啦~ 阅读(1098) 评论(0) 推荐(1) 编辑
摘要: 令 a 的 href = canvas.toDataURL("image/png"); 阅读全文
posted @ 2017-07-26 10:41 ~噜啦啦~ 阅读(1044) 评论(0) 推荐(0) 编辑
摘要: var Btn = document.getElementById("unmark");var oBtn = document.getElementById("mark");oBtn.onclick = function() { var range, sel; var colour = 'yello 阅读全文
posted @ 2017-03-21 11:30 ~噜啦啦~ 阅读(1254) 评论(0) 推荐(0) 编辑
摘要: elem.requestPointerLock = elem.requestPointerLock || elem.mozRequestPointerLock || elem.webkitRequestPointerLock;elem.requestPointerLock(); 阅读全文
posted @ 2017-01-19 18:58 ~噜啦啦~ 阅读(243) 评论(0) 推荐(0) 编辑
摘要: /*! JSZip - A Javascript class for generating and reading zip files<http://stuartk.com/jszip> (c) 2009-2014 Stuart Knightley <stuart [at] stuartk.com> 阅读全文
posted @ 2017-01-19 16:48 ~噜啦啦~ 阅读(1727) 评论(0) 推荐(0) 编辑
摘要: GS.ZipAssetLoader = function(audioContext) { this.audioContext = audioContext, this.objLoader = new THREE.OBJLoader, this.mapLoader = new GS.MapLoader 阅读全文
posted @ 2017-01-19 16:35 ~噜啦啦~ 阅读(137) 评论(0) 推荐(0) 编辑
摘要: lon = 0,//y旋转角度 lat = 0, onMouseDownLat = 0, phi = 0, theta = 0; if ( isUserInteracting false ) { lon += 0.1; } lat = Math.max( - 85, Math.min( 85, la 阅读全文
posted @ 2017-01-19 15:28 ~噜啦啦~ 阅读(403) 评论(0) 推荐(0) 编辑
摘要: <noscript> <article id="noscript" class="error info_panel"> <header class='title_alt text_huge'>Javascript disabled?</header> <p class="error_explanat 阅读全文
posted @ 2017-01-19 10:41 ~噜啦啦~ 阅读(224) 评论(0) 推荐(0) 编辑
摘要: 设置.js文件默认以jsx的语法打开 在没有进行设置的情况下,每次打开WebStorm的时候打开包含jsx语法的.js文件都会有以下提示: 当然我们点击转换后就可以了,但是每次都会提示,所以还是来一个一劳永逸的方法把它给去掉吧: 然后Apply/OK即可。 设置.js文件中支持react-nativ 阅读全文
posted @ 2017-01-09 17:11 ~噜啦啦~ 阅读(20798) 评论(0) 推荐(0) 编辑
摘要: var pixclPatio = 1 / window.devicePixelRatio;document.write('<meta name="viewport" content="width=device-width,initial-scale=' + pixclPatio + ",minimu 阅读全文
posted @ 2017-01-09 14:58 ~噜啦啦~ 阅读(189) 评论(0) 推荐(0) 编辑