1
0
Fork 0
mirror of https://github.com/futurepress/epub.js.git synced 2025-10-05 15:32:55 +02:00

Merge pull request #1309 from cbednarski/patch-1

Change ordering of jszip and epub.js
This commit is contained in:
Fred Chasen 2023-05-15 22:02:29 -07:00 committed by GitHub
commit f09089cf77
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,18 +20,18 @@ More specifically, the EPUB schema standardizes the table of contents, provides
## Getting Started ## Getting Started
If using archived `.epub` files include JSZip (this must precede inclusion of epub.js):
```html
<script src="https://cdnjs.cloudflare.com/ajax/libs/jszip/3.1.5/jszip.min.js"></script>
```
Get the minified code from the build folder: Get the minified code from the build folder:
```html ```html
<script src="../dist/epub.min.js"></script> <script src="../dist/epub.min.js"></script>
``` ```
If using archived `.epub` files include JSZip:
```html
<script src="https://cdnjs.cloudflare.com/ajax/libs/jszip/3.1.5/jszip.min.js"></script>
```
Set up a element to render to: Set up a element to render to:
```html ```html