From 64b823c26c385dcd57aff3e19ce19af0489199e0 Mon Sep 17 00:00:00 2001 From: Michael Williamson Date: Sun, 3 Jul 2016 20:11:29 +0100 Subject: Read comment references --- lib/documents.js | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'lib/documents.js') diff --git a/lib/documents.js b/lib/documents.js index cb45c40..d4a28af 100644 --- a/lib/documents.js +++ b/lib/documents.js @@ -10,6 +10,7 @@ var types = exports.types = { noteReference: "noteReference", image: "image", note: "note", + commentReference: "commentReference", comment: "comment", table: "table", tableRow: "tableRow", @@ -113,6 +114,13 @@ function Note(options) { }; } +function commentReference(options) { + return { + type: types.commentReference, + commentId: options.commentId + }; +} + function comment(options) { return { type: types.comment, @@ -182,6 +190,7 @@ exports.Hyperlink = Hyperlink; exports.noteReference = exports.NoteReference = NoteReference; exports.Notes = Notes; exports.Note = Note; +exports.commentReference = commentReference; exports.comment = comment; exports.Image = Image; exports.Table = Table; -- cgit v1.2.3