chore: Apply linting fixes

This commit is contained in:
Bouncey
2019-02-16 08:48:52 +00:00
committed by mrugesh mohapatra
parent 5499042ce6
commit f45c3d4fa5
8 changed files with 221 additions and 188 deletions

View File

@ -45,7 +45,7 @@ function textToData(sectionIds) {
const lines = child.value.split('\n');
if (lines.filter(Boolean).length > 0) {
lines.forEach((line, index) => {
if (/^\s*$/.test(line)) {
if ((/^\s*$/).test(line)) {
currentParagraph = null;
} else {
if (!currentParagraph || index > 0) {