Skip to content
Snippets Groups Projects
Commit 107ca591 authored by rhenck's avatar rhenck
Browse files

Minor code cleanup

parent 3c6bda99
No related branches found
No related tags found
No related merge requests found
......@@ -61,7 +61,7 @@ export class ClozeElement extends CompoundElement implements FontElement {
return Array.from(el.getElementsByTagName('p'));
}
parseParagraphs(p: string, partIndex: number): void {
private parseParagraphs(p: string, partIndex: number): void {
this.parts[partIndex] = []; // init array to be able to push
let [nextSpecialElementIndex, nextElementType] = ClozeElement.getNextSpecialElement(p);
let indexOffset = 0;
......@@ -129,7 +129,6 @@ export class ClozeElement extends CompoundElement implements FontElement {
default:
throw new Error(`ElementType ${elementModel.type} not found!`);
}
console.log('newElement', newElement);
return newElement;
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment