update paths for gh-pages [ci skip]

This commit is contained in:
SheetJS 2017-04-27 17:39:20 -04:00
parent 029cc99249
commit 63ef494ee7
2 changed files with 2 additions and 2 deletions

View File

@ -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) {

View File

@ -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;