Comparing version 1.3.5 to 1.3.6
@@ -5,3 +5,3 @@ { | ||
"description": "A standalone JavaScript implementation of the Lempel-Ziv-Markov chain (LZMA) compression algorithm", | ||
"version": "1.3.5", | ||
"version": "1.3.6", | ||
"homepage": "http://nmrugg.github.com/LZMA-JS/", | ||
@@ -8,0 +8,0 @@ "repository": { |
@@ -62,5 +62,4 @@ LZMA in a Browser | ||
LZMA-JS will use [web workers](http://www.whatwg.org/specs/web-workers/current-work/) if they are available. If the | ||
environment does not support web workers, it will create a few global functions (Worker(), onmessage(), and | ||
postMessage()) to mimic the functionality. | ||
LZMA-JS will try to use [web workers](http://www.whatwg.org/specs/web-workers/current-work/) if they are available. If the | ||
environment does not support web workers, it will just do something else, and it won't pollute the global scope. | ||
@@ -82,5 +81,2 @@ But I don't want to use Web Workers | ||
This can also be done in Node.js. | ||
/// Note that there are no parentheses after ".LZMA" because this LZMA variable is an object, not a function. | ||
var my_lzma = require("lzma/lzma_worker.js").LZMA; | ||
In Node.js, the Web Worker code is already skipped, so there's no reason to do this on that platform, though you could. |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
138726
8
81