contentcollector: Delete unused `domInterface` parameter
parent
42c25b2536
commit
74bb2f76cc
|
@ -1139,7 +1139,7 @@ function Ace2Inner() {
|
|||
|
||||
lastDirtyNode = (lastDirtyNode && isNodeDirty(lastDirtyNode) && lastDirtyNode);
|
||||
if (firstDirtyNode && lastDirtyNode) {
|
||||
const cc = makeContentCollector(isStyled, browser, rep.apool, null, className2Author);
|
||||
const cc = makeContentCollector(isStyled, browser, rep.apool, className2Author);
|
||||
cc.notifySelection(selection);
|
||||
const dirtyNodes = [];
|
||||
for (let n = firstDirtyNode; n &&
|
||||
|
|
|
@ -32,8 +32,8 @@ const hooks = require('./pluginfw/hooks');
|
|||
|
||||
const sanitizeUnicode = (s) => UNorm.nfc(s);
|
||||
|
||||
const makeContentCollector = (collectStyles, abrowser, apool, domInterface, className2Author) => {
|
||||
const dom = domInterface || {
|
||||
const makeContentCollector = (collectStyles, abrowser, apool, className2Author) => {
|
||||
const dom = {
|
||||
isNodeText: (n) => n.nodeType === 3,
|
||||
nodeTagName: (n) => n.tagName,
|
||||
nodeValue: (n) => n.nodeValue,
|
||||
|
|
Loading…
Reference in New Issue