From 39ffc03edfa0cb31d739da79b2232783146c1d68 Mon Sep 17 00:00:00 2001 From: Dolan Miu Date: Mon, 4 Jul 2016 19:14:40 +0100 Subject: [PATCH] fixed typo in readme --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ab45124ffa..9aa381731c 100644 --- a/README.md +++ b/README.md @@ -294,7 +294,7 @@ The example above will create a left aligned text, and a right aligned text on t var paragraph = new docx.Paragraph(); paragraph.maxRightTabStop(); paragraph.leftTabStop(1000); -var text = docx.createText("Second tab stop here I come!").tab().tab(); +var text = new docx.TextRun("Second tab stop here I come!").tab().tab(); paragraph.addText(text); ``` The above shows the use of two tab stops, and how to select/use it.