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 | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 1a3d06b..2953f73 100644 --- a/README.md +++ b/README.md @@ -20,18 +20,18 @@ More specifically, the EPUB schema standardizes the table of contents, provides ## Getting Started +If using archived `.epub` files include JSZip (this must precede inclusion of epub.js): + +```html + +``` + Get the minified code from the build folder: ```html ``` -If using archived `.epub` files include JSZip: - -```html - -``` - Set up a element to render to: ```html