fixed typo in readme

This commit is contained in:
Dolan Miu
2016-07-04 19:14:40 +01:00
parent 70a613c92e
commit 39ffc03edf

View File

@ -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(); var paragraph = new docx.Paragraph();
paragraph.maxRightTabStop(); paragraph.maxRightTabStop();
paragraph.leftTabStop(1000); 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); paragraph.addText(text);
``` ```
The above shows the use of two tab stops, and how to select/use it. The above shows the use of two tab stops, and how to select/use it.