diff options
Diffstat (limited to 'lib/output/modifiers/inlineAssets.js')
-rw-r--r-- | lib/output/modifiers/inlineAssets.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/output/modifiers/inlineAssets.js b/lib/output/modifiers/inlineAssets.js index 9f19fd7..ee932eb 100644 --- a/lib/output/modifiers/inlineAssets.js +++ b/lib/output/modifiers/inlineAssets.js @@ -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, $)); }; } |