Simplify for loop

This commit is contained in:
Dolan
2021-03-08 04:33:15 +00:00
parent 65302dd39b
commit 993782129c
2 changed files with 4 additions and 7 deletions

View File

@ -139,11 +139,8 @@ export class File {
}
if (options.footnotes) {
// tslint:disable-next-line: forin
for (const key in options.footnotes) {
if (!options.footnotes[key]) {
continue;
}
this.footnotesWrapper.View.createFootNote(parseFloat(key), options.footnotes[key].children);
}
}