Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Even better backwards compatibility.

  • Loading branch information...
commit 2f4640d0f7143a4ae847378000f748b80b8d74f3 1 parent 63747bf
@nmrugg authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 index.js
View
4 index.js
@@ -4,7 +4,7 @@
/// MIT
///NOTE: This returns a function for backwards compatibility's sake.
-module.exports.LZMA = function LZMA()
+module.exports.LZMA = function LZMA(worker_path)
{
- return require("./src/lzma_worker.js").LZMA;
+ return require(worker_path || "./src/lzma_worker.js").LZMA;
}
Please sign in to comment.
Something went wrong with that request. Please try again.