diff options
Diffstat (limited to 'lib/documents.js')
| -rw-r--r-- | lib/documents.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/documents.js b/lib/documents.js index b28281f..d1c1e03 100644 --- a/lib/documents.js +++ b/lib/documents.js @@ -33,10 +33,11 @@ function ElementWithChildren(type) { }; } -function Image(read) { +function Image(read, altText) { return { type: "image", - read: read + read: read, + altText: altText }; } |
