From a2c8ac6d94576d80609e86a331904ce8af3f438a Mon Sep 17 00:00:00 2001 From: Fred Chasen Date: Tue, 25 Apr 2017 17:53:05 -0400 Subject: [PATCH] Update to marks-pane --- package.json | 4 ++-- src/contents.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index ea89058..a78af52 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "epubjs", - "version": "0.3.26", + "version": "0.3.27", "description": "Parse and Render Epubs", "main": "lib/index.js", "module": "src/index.js", @@ -72,7 +72,7 @@ "dependencies": { "event-emitter": "^0.3.4", "jszip": "^3.1.3", - "marks": "github:fchasen/marks", + "marks-pane": "^1.0.0", "path-webpack": "^0.0.3", "stream-browserify": "^2.0.1", "xmldom": "^0.1.27" diff --git a/src/contents.js b/src/contents.js index aca6f88..c1cb310 100644 --- a/src/contents.js +++ b/src/contents.js @@ -3,7 +3,7 @@ import {isNumber, prefixed} from "./utils/core"; import EpubCFI from "./epubcfi"; import Mapping from "./mapping"; import {replaceLinks} from "./utils/replacements"; -import { Pane, Highlight, Underline } from "marks"; +import { Pane, Highlight, Underline } from "marks-pane"; // Dom events to listen for const EVENTS = ["keydown", "keyup", "keypressed", "mouseup", "mousedown", "click", "touchend", "touchstart"];