Skip to content
This repository was archived by the owner on Apr 1, 2026. It is now read-only.

Commit 9df6d80

Browse files
hedgepigdanielmarijnh
authored andcommitted
chore: fix linter errors
1 parent 4d62ca2 commit 9df6d80

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/from_dom.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ class NodeContext {
349349
let mark = pending[i]
350350
if ((this.type ? this.type.allowsMarkType(mark.type) : markMayApply(mark.type, nextType)) &&
351351
!mark.isInSet(this.activeMarks)) {
352-
let found = findSameTypeInSet(mark, this.activeMarks);
352+
let found = findSameTypeInSet(mark, this.activeMarks)
353353
if (found) this.stashMarks.push(found)
354354
this.activeMarks = mark.addToSet(this.activeMarks)
355355
this.pendingMarks = mark.removeFromSet(this.pendingMarks)

test/test-dom.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ describe("DOMParser", () => {
356356
}]
357357
})
358358
})
359-
let b = builders(markSchema);
359+
let b = builders(markSchema)
360360
let dom = document.createElement("div")
361361
dom.innerHTML = "<p style='text-decoration: line-through;'>f<s style='text-decoration: line-through;'>o</s>o</p>"
362362
let result = DOMParser.fromSchema(markSchema).parseSlice(dom)
@@ -368,7 +368,7 @@ describe("DOMParser", () => {
368368
b.schema.text('o', [b.schema.marks.s.create({ 'data-s': 'tag' })]),
369369
b.schema.text('o', [b.schema.marks.s.create({ 'data-s': 'style' })])
370370
]
371-
),
371+
)
372372
), 1, 1), eq)
373373
})
374374

0 commit comments

Comments
 (0)