chenhuanle / html5rocks

Automatically exported from code.google.com/p/html5rocks
0 stars 0 forks source link

Tutorial: Synchronous FileSystem - example code not calling worker #716

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
http://master.html5rocks.appspot.com/en/tutorials/file/filesystem-sync/

Section: Passing around Files, Blobs, and ArrayBuffers

The example code for this does does not actually post the FileList to the 
worker, as described ("The worker simply passes through the file list"). Adding 
the following to the anonymous function passed to loadInlineWorker produces the 
desired result:

worker.postMessage(files);

Also, there is a missing closing bracket in loadInlineWorker where callback is 
invoked.

Original issue reported on code.google.com by johngste...@gmail.com on 14 Nov 2011 at 5:43

GoogleCodeExporter commented 8 years ago
Thanks. Taken care of it.

Original comment by ericbide...@html5rocks.com on 2 Mar 2012 at 6:37