summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2017-05-24 21:00:37 +0100
committerMichael Williamson <mike@zwobble.org>2017-05-24 21:00:37 +0100
commit941d705b6c30f1e43889c4e62c0a747f7b6fe8ba (patch)
tree8c3e780d34e6d10f67d60655c39ad56ec29cac8f
parentebedc67a1fe3203c7839aea523a6dbf5a1c89a15 (diff)
Pass options through deferredConversion
-rw-r--r--lib/document-to-html.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/document-to-html.js b/lib/document-to-html.js
index d2d0a24..852e0af 100644
--- a/lib/document-to-html.js
+++ b/lib/document-to-html.js
@@ -404,13 +404,13 @@ function DocumentConversion(options, comments) {
var deferredId = 1;
function deferredConversion(func) {
- return function(element, messages) {
+ return function(element, messages, options) {
return [
{
type: "deferred",
id: deferredId++,
value: function() {
- return func(element, messages);
+ return func(element, messages, options);
}
}
];