update paths for gh-pages [ci skip]
This commit is contained in:
parent
029cc99249
commit
63ef494ee7
@ -1,7 +1,7 @@
|
||||
/* js-crc32 (C) 2014-present SheetJS -- http://sheetjs.com */
|
||||
/*:: declare var CRC32: CRC32Module; */
|
||||
/*:: declare var self: DedicatedWorkerGlobalScope; */
|
||||
importScripts('/crc32.js');
|
||||
importScripts('/js-crc32' + '/crc32.js');
|
||||
/*::self.*/postMessage({t:"ready"});
|
||||
|
||||
var recrc = function(f, crc, l) {
|
||||
|
@ -34,7 +34,7 @@ var handle_drop/*:EventHandler*/ = (function(e/*:DragEvent*/) {
|
||||
var files/*:FileList*/ = e.dataTransfer.files;
|
||||
var f/*:File*/ = files[0];
|
||||
|
||||
var worker = new Worker("/demo/work.js");
|
||||
var worker = new Worker("/js-crc32" + "/demo/work.js");
|
||||
worker.postMessage(f);
|
||||
worker.onmessage = function(M) { var m = M.data; switch(m.t) {
|
||||
case 'ready': break;
|
||||
|
Loading…
Reference in New Issue
Block a user