Skip to content

Commit

Permalink
Moved npm stuff out of src.
Browse files Browse the repository at this point in the history
  • Loading branch information
nmrugg committed Nov 9, 2013
1 parent 1d325dd commit 9da21b0
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 89 deletions.
3 changes: 3 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
demos
test
logo*
10 changes: 10 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
/// LZMA-JS
/// Nathan Rugg
/// 2013
/// MIT

///NOTE: This returns a function for backwards compatibility's sake.
module.exports.LZMA = function LZMA()
{
return require("./src/lzma_worker.js").LZMA;
}
File renamed without changes.
88 changes: 0 additions & 88 deletions src/readme.md

This file was deleted.

2 changes: 1 addition & 1 deletion test/test-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

var all_tests_pass = true,
fs = require("fs"),
my_lzma = require("../src/lzma.js").LZMA(),
my_lzma = require("../index.js").LZMA(),
compression_mode = Number(process.argv[2]) || 1,
path_to_files = "files";

Expand Down

0 comments on commit 9da21b0

Please sign in to comment.