mirror of
https://github.com/futurepress/epub.js.git
synced 2025-10-04 15:09:16 +02:00
Moved replacements to replacment.js
This commit is contained in:
parent
55813bfe69
commit
d8edee0793
10 changed files with 385 additions and 434 deletions
|
@ -32,12 +32,20 @@
|
|||
<script src="../src/chapter.js"></script>
|
||||
<script src="../src/renderer.js"></script>
|
||||
<script src="../src/epubcfi.js"></script>
|
||||
<script src="../src/replace.js"></script>
|
||||
|
||||
<!-- Hooks -->
|
||||
<!-- <script src="../hooks/default/transculsions.js"></script> -->
|
||||
<!-- <script src="../hooks/default/endnotes.js"></script> -->
|
||||
<!-- <script src="../hooks/default/smartimages.js"></script> -->
|
||||
|
||||
<script>
|
||||
|
||||
EPUBJS.filePath = "../demo/js/libs/";
|
||||
EPUBJS.cssPath = "../demo/css/";
|
||||
|
||||
</script>
|
||||
|
||||
<style type="text/css">
|
||||
|
||||
body {
|
||||
|
@ -95,7 +103,7 @@
|
|||
<script>
|
||||
"use strict";
|
||||
|
||||
var Book = ePub("../demo/moby-dick/");
|
||||
var Book = ePub("../demo/moby-dick/", {restore: true});
|
||||
|
||||
</script>
|
||||
</head>
|
||||
|
@ -110,6 +118,7 @@
|
|||
|
||||
Book.renderTo("area");
|
||||
|
||||
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue