Fix modifiers for ebook format

This commit is contained in:
Samy Pessé
2016-05-02 13:40:14 +02:00
parent 289e4b5dc1
commit 99bbcbebfc
+4 -4
View File
@@ -16,11 +16,11 @@ function inlineAssets(rootFolder, currentFile) {
// Resolving images and fetching external images should be
// done before svg conversion
.then(resolveImages.bind(null, currentFile))
.then(fetchRemoteImages.bind(null, rootFolder, currentFile))
.then(resolveImages.bind(null, currentFile, $))
.then(fetchRemoteImages.bind(null, rootFolder, currentFile, $))
.then(svgToImg.bind(null, rootFolder, currentFile))
.then(svgToPng.bind(null, rootFolder, currentFile));
.then(svgToImg.bind(null, rootFolder, currentFile, $))
.then(svgToPng.bind(null, rootFolder, currentFile, $));
};
}