This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

web worker importScripts

  • Loading branch information...
SheetJSDev committed Nov 22, 2013
1 parent 1939b00 commit 110735723d2d787833036d6e6d45af8746043317
Showing with 1 addition and 4,879 deletions.
  1. +0 −4 Makefile
  2. +0 −10 misc/worker.js
  3. +1 −4,865 xlsworker.js
View
@@ -1,9 +1,5 @@
DEPS=$(wildcard bits/*.js)
TARGET=xls.js
-WORKER=xlsworker.js
-
-$(WORKER): $(TARGET) misc/worker.js
- cat $^ > $@
$(TARGET): $(DEPS)
cat $^ > $@
View
@@ -1,10 +0,0 @@
-postMessage({t:"ready"});
-
-onmessage = function (oEvent) {
- var v, cfb;
- try {
- cfb = XLS.CFB.read(oEvent.data, {type:"binary"});
- v = XLS.parse_xlscfb(cfb);
- } catch(e) { postMessage({t:"e",d:e.stack}); }
- postMessage({t:"xls", d:v});
-};
Oops, something went wrong.

0 comments on commit 1107357

Please sign in to comment.