Comparing version 0.0.4 to 0.0.5
@@ -12,2 +12,3 @@ var cacher = require('epub-cache'); | ||
var listeners = {}; | ||
var parser = cacher.getParser(); | ||
@@ -83,5 +84,4 @@ module.exports.maxFiles = 0; | ||
module.exports.buildIndex = function (dir, p, cb) { | ||
module.exports.buildIndex = function (dir, cb) { | ||
parser = p; | ||
epubdir = dir; | ||
@@ -149,5 +149,2 @@ finalCb = cb; | ||
console.log(parser); | ||
var o = { | ||
@@ -154,0 +151,0 @@ path: path, |
{ | ||
"name": "epub2web", | ||
"version": "0.0.4", | ||
"version": "0.0.5", | ||
"description": "Web server module to allow reading of Epub content directly in the browser, without plugins or specialized applications. ", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -20,3 +20,3 @@ | ||
cat.buildIndex(catalogDir, parser, function (err, index) { // build a new index and replace the old (if it exists) | ||
cat.buildIndex(catalogDir, function (err, index) { // build a new index and replace the old (if it exists) | ||
@@ -23,0 +23,0 @@ if(err) throw err; |
1072728
273