mirror of
https://github.com/alexadam/save-as-ebook.git
synced 2025-09-11 01:44:44 +00:00
update tests
This commit is contained in:
parent
278f42d4c7
commit
8abb752520
6 changed files with 4 additions and 2 deletions
|
@ -77,6 +77,7 @@ function extractMathMl($htmlObject) {
|
|||
});
|
||||
}
|
||||
|
||||
// tested
|
||||
function extractCanvasToImg($htmlObject) {
|
||||
$htmlObject.find('canvas').each(function (index, elem) {
|
||||
var tmpXP = getXPath(elem);
|
||||
|
@ -87,6 +88,7 @@ function extractCanvasToImg($htmlObject) {
|
|||
});
|
||||
}
|
||||
|
||||
// tested
|
||||
function extractSvgToImg($htmlObject) {
|
||||
var serializer = new XMLSerializer();
|
||||
$htmlObject.find('svg').each(function (index, elem) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue