博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

文章分类 -  HTML5

摘要:http://www.zhangxinxu.com/wordpress/2013/10/understand-domstring-document-formdata-blob-file-arraybuffer/http://www.html5rocks.com/en/tutorials/file/xhr2/#toc-reponseTypeArrayBuffer一、XMLHttpRequest 2.0的家臣们我大学那会儿,一个称为Ajax的东西对前端行业造成了深远影响,不仅是JS语言,而包括前端地位、职位兴起以及工作分工等。抛开IE6浏览器不谈,其他浏览器的Ajax实际上都是借助XMLHttpR 阅读全文

posted @ 2014-01-02 12:37 bw_0927 阅读(522) 评论(0) 推荐(0)

摘要:http://updates.html5rocks.com/2011/12/Transferable-Objects-Lightning-FastChrome 13 introduced sendingArrayBuffers to/from a Web Worker using an algorithm calledstructured cloning. This allowed thepostMessage()API to accept messages that were not just strings, but complex types likeFile,Blob,ArrayBuf 阅读全文

posted @ 2014-01-02 10:26 bw_0927 阅读(372) 评论(0) 推荐(0)

摘要:http://www.html5rocks.com/en/tutorials/workers/basics/#toc-gettingstartedThe Problem: JavaScript ConcurrencyThere are a number of bottlenecks preventing interesting applications from being ported (say, from server-heavy implementations) to client-side JavaScript. Some of these include browser compat 阅读全文

posted @ 2014-01-02 10:18 bw_0927 阅读(274) 评论(0) 推荐(0)

摘要:http://stackoverflow.com/questions/14500091/uncaught-referenceerror-importscripts-is-not-definedhttp://www.html5rocks.com/en/tutorials/workers/basics/#toc-gettingstartedImporting scripts and librariesWorker threads have access to a global function,importScripts(), which lets them import scripts or l 阅读全文

posted @ 2013-12-27 14:19 bw_0927 阅读(2239) 评论(0) 推荐(0)