From 63ef494ee799a59432f2df3a62304c5e4961a893 Mon Sep 17 00:00:00 2001 From: SheetJS Date: Thu, 27 Apr 2017 17:39:20 -0400 Subject: [PATCH] update paths for gh-pages [ci skip] --- demo/work.js | 2 +- demo/worker.flow.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/demo/work.js b/demo/work.js index 4d1c9b7..fe91cdb 100644 --- a/demo/work.js +++ b/demo/work.js @@ -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) { diff --git a/demo/worker.flow.js b/demo/worker.flow.js index a0884f6..8c26a02 100644 --- a/demo/worker.flow.js +++ b/demo/worker.flow.js @@ -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;