From 72e3d229dc37c704083d525c85bce4ee035edf44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sergio=20Mendon=C3=A7a?= Date: Tue, 25 Sep 2018 02:36:00 -0300 Subject: [PATCH] unnecessary comment removed --- demo/demo28.ts | 1 - docs/usage/table-of-contents.md | 1 - 2 files changed, 2 deletions(-) diff --git a/demo/demo28.ts b/demo/demo28.ts index 80b6c7fcff..85a22b0328 100644 --- a/demo/demo28.ts +++ b/demo/demo28.ts @@ -25,7 +25,6 @@ props.headingStyleRange = "1-5"; props.stylesWithLevels = [new StyleLevel("MySpectacularStyle",1)] const toc = new TableOfContents("Summary", props); -// A TableOfContents must be added via File class. doc.addTableOfContents(toc); doc.addParagraph(new Paragraph("Header #1").heading1().pageBreakBefore()); diff --git a/docs/usage/table-of-contents.md b/docs/usage/table-of-contents.md index 7a027ad44c..c664924f96 100644 --- a/docs/usage/table-of-contents.md +++ b/docs/usage/table-of-contents.md @@ -44,7 +44,6 @@ props.headingStyleRange = "1-5"; props.stylesWithLevels = [new StyleLevel("MySpectacularStyle",1)] const toc = new TableOfContents("Summary", props); -// A TableOfContents must be added via File class. doc.addTableOfContents(toc); doc.addParagraph(new Paragraph("Header #1").heading1().pageBreakBefore());