renamed page break to thematic break

This commit is contained in:
Dolan Miu
2016-03-29 23:36:57 +01:00
parent 7e91d7be4d
commit e04d9e0c97
2 changed files with 11 additions and 3 deletions

View File

@ -90,8 +90,16 @@ export class Paragraph {
return this;
}
pageBreak() {
thematicBreak() {
this.properties.push(new ThematicBreak());
return this;
}
pageBreak () {
this.properties.push(new ThematicBreak());
paragraphProperties.push(pBreak);
return this;
}
}