1
0
Fork 0
mirror of https://github.com/futurepress/epub.js.git synced 2025-10-03 14:59:18 +02:00

Add methods to mark a paragraph by cfi (#604)

* Add highlight to contents

* Add marks and pass data to highlights

* Add marks example

* Only add pane when highlight is added

* Include marks in babel processing
This commit is contained in:
Fred Chasen 2017-04-24 15:42:16 -04:00 committed by GitHub
parent f0856ea78c
commit 32672359f5
7 changed files with 206 additions and 133 deletions

View file

@ -44,7 +44,7 @@ module.exports = {
loaders: [
{
test: /\.js$/,
exclude: /node_modules/,
exclude: /node_modules\/(?!(marks)\/).*/,
loader: "babel-loader",
query: LEGACY ? {
presets: ['es2015'],