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:
commit
f09089cf77
1 changed files with 6 additions and 6 deletions
12
README.md
12
README.md
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue