efm icon indicating copy to clipboard operation
efm copied to clipboard

EFM - Epub for Monocle is not working in IE

Open yogeshwon opened this issue 8 years ago • 1 comments

error like Unable to get property 'getData' of undefined or null reference

So can you please suggest me how to read .epub file using EFM - Epub for Monocle.It is very imaportant for me Unable to get property 'split' of undefined or null reference line 52, col 5 function joinPaths(path1, path2) { var path = path1.split('/').concat(path2.split('/')) Unable to get property 'getData' of undefined or null reference line 255 files[id].getData(new zip.TextWriter(), function (data) { callback(data); });

yogeshwon avatar Aug 28 '16 14:08 yogeshwon

@yogeshwon, I got stuck with similar issues. It seems that the newer versions of zip-js are not compatible. I have not bothered to find out why.

My solution was to start with the example gh-pages branch given. The js/zip.js included seems to work fine.

Try the example as is. If that works, then try replacing the zip-js files with the older versions from the example.

Akahadaka avatar Nov 07 '16 13:11 Akahadaka