1
0
Fork 0
mirror of https://github.com/Yetangitu/owncloud-apps.git synced 2025-10-02 14:49:17 +02:00

files_reader: new version of epub.js, using JSZip.

files_opds: empty bookshelf seems to cause problems for some, now fixed.
This commit is contained in:
frankdelange 2015-01-02 02:24:51 +01:00
parent 394533fd14
commit 77143932b8
19 changed files with 7923 additions and 127 deletions

View file

@ -54,17 +54,6 @@ document.onreadystatechange = function () {
EPUBJS.filePath = "js/libs/";
EPUBJS.cssPath = "css/";
// device-specific rules
//
// webworkers...
if(!window.Worker) {
// use zip.js without webworkers, include inflate.js
zip.useWebWorkers = false;
$.getScript('js/libs/inflate.js');
} else {
zip.workerScriptsPath = document.getElementsByTagName('base')[0].href + 'js/libs/';
}
// touch-enabled devices...
$('#touch_nav').prop('checked', !('ontouchstart' in document.documentElement));
if (!($('#touch_nav').prop('checked'))) {