From 4dde26a2a56fe66227493085fc84b0bf7c5ec3fd Mon Sep 17 00:00:00 2001 From: Chris Bednarski Date: Fri, 16 Dec 2022 17:36:36 -0800 Subject: [PATCH] Change ordering of jszip and epub.js JSZip must be loaded before Epub JS or Epub JS will return a promise that never completes, without an error message. The docs present these dependencies in opposite order, which trips up initial setup. Closes #1167 Closes #1248 --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 1a3d06b70..2953f73b7 100644 --- a/README.md +++ b/README.md @@ -20,16 +20,16 @@ More specifically, the EPUB schema standardizes the table of contents, provides ## Getting Started -Get the minified code from the build folder: +If using archived `.epub` files include JSZip (this must precede inclusion of epub.js): ```html - + ``` -If using archived `.epub` files include JSZip: +Get the minified code from the build folder: ```html - + ``` Set up a element to render to: