From 254414666570ad109e3cde7e30aca832607b38d1 Mon Sep 17 00:00:00 2001 From: andris9 Date: Mon, 13 Jun 2011 23:12:09 +0300 Subject: [PATCH] update --- example.js | 27 --------------------------- 1 file changed, 27 deletions(-) delete mode 100644 example.js diff --git a/example.js b/example.js deleted file mode 100644 index a22ff0a..0000000 --- a/example.js +++ /dev/null @@ -1,27 +0,0 @@ -var EPub = require("./epub"); - -var epub = new EPub("tasuja.epub", "tere", "vana"); -epub.on("error", function(err){ - console.log("ERROR\n-----"); - throw err; -}); - -epub.on("end", function(err){ - console.log("PARSED\n-----"); - console.log(epub.metadata); - console.log(epub.manifest); - console.log(epub.spine); - console.log(epub.toc); - - epub.getChapter("item259", function(err, data){ - console.log(err || data); - }); - - epub.getImage("item262", function(err, data, mimeType){ - console.log(err || data); - console.log(mimeType) - }); - -}); - -epub.parse(); \ No newline at end of file