Permalink
Browse files

Removed targetOrigin when calling postMessage since it was causing er…

…rors.
  • Loading branch information...
1 parent 430bd40 commit 88f088ea2775df0f250dc58dd5ed76166091fdcc @nmrugg nmrugg committed Apr 29, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 src/lzma_worker.js
View
@@ -1,15 +1,15 @@
var LZMA,
action_compress = 1,
action_decompress = 2,
- action_update = 3;
+ action_update = 3;
function update_progress(percent, callback_num) {
///TODO: Calculate ETA.
postMessage({
action: 3,
callback_num: callback_num,
result: percent
- }, "*");
+ });
}
LZMA = (function () {
@@ -3642,7 +3642,7 @@ LZMA = (function () {
action: action_compress,
callback_num: callback_num,
result: $toByteArray(this$static.c.output).slice(0)
- }, "*");
+ });
}
setTimeout(do_action, 1);
@@ -3677,7 +3677,7 @@ LZMA = (function () {
action: action_decompress,
callback_num: callback_num,
result: decode($toByteArray(this$static.d.output))
- }, "*");
+ });
}
setTimeout(do_action, 0);

0 comments on commit 88f088e

Please sign in to comment.