上一页 1 2 3 4 5 6 7 ··· 17 下一页
摘要: var a=document.querySelector('input[type=file]');a.onchange = function (e) {//var reader = new FileReader();//reader.readAsDataURL(a.files[0]);//reade... 阅读全文
posted @ 2014-07-21 18:40 高捍得 阅读(1074) 评论(0) 推荐(0) 编辑
摘要: 下载demo 阅读全文
posted @ 2014-06-09 17:36 高捍得 阅读(213) 评论(0) 推荐(0) 编辑
摘要: asdasdasdasdaasdasdasdasda 阅读全文
posted @ 2014-05-16 16:38 高捍得 阅读(141) 评论(0) 推荐(0) 编辑
摘要: 默认顺序 1 2 3 物品容器 2仓库 阅读全文
posted @ 2014-05-09 13:56 高捍得 阅读(276) 评论(0) 推荐(0) 编辑
摘要: Bouncing Ball With inputs 不支持canvas Horizontal velocity Vert... 阅读全文
posted @ 2014-04-27 11:24 高捍得 阅读(222) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2014-04-04 17:16 高捍得 阅读(162) 评论(0) 推荐(0) 编辑
摘要: var blob = new Blob(['onmessage=function(e){postMessage(e.data);}']); debugger; // Obtain a blob URL reference to our worker 'file'. var blobURL = window.URL.createObjectURL(blob); // create a Worker var worker = new Worker(blobURL); worker.onmessage = function (e) { conso... 阅读全文
posted @ 2013-11-14 22:13 高捍得 阅读(261) 评论(0) 推荐(0) 编辑
摘要: 下面是IndexedDb.js/** * Created by 宇乔 on 13-11-12. */(function (window) { var A = { create: function (dbname, dbInfo, successFn, errorFn, version) { var me = this; this.dbName = dbname; this.version = version; for (var i = 0, len = dbInf... 阅读全文
posted @ 2013-11-13 14:24 高捍得 阅读(801) 评论(0) 推荐(0) 编辑
摘要: //Create child processvar thread = require('child_process');var msg = thread.fork(__dirname + '/child.js',['asdasd']);msg.on('message', function (m) { debugger; console.log('PARENT got message:', m);});msg.on('close', function () { //3 debugger;})msg.o 阅读全文
posted @ 2013-11-05 17:16 高捍得 阅读(361) 评论(0) 推荐(0) 编辑
摘要: var msViewportStyle = document.createElement("style"); msViewportStyle.appendChild( document.createTextNode( "@media screen and (orientation: portrait) {" + "@-ms-viewport {width: 320px !important;}" + "}" + "@media sc... 阅读全文
posted @ 2013-10-18 22:56 高捍得 阅读(261) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 ··· 17 下一页