MCPcopy Create free account
hub / github.com/JKPotato-Computer/SignMaker / LineEditor

Function LineEditor

js/main.js:1739–1746  ·  view source on GitHub ↗
(line)

Source from the content-addressed store, hash-verified

1737
1738 function monitorControlText(i, p) {
1739 function LineEditor(line) {
1740 if (line.includes("</>")) {
1741 line = line.split("</>");
1742 p.appendChild(document.createTextNode(line[0] + "⠀⠀⠀⠀⠀⠀⠀⠀⠀" + line[1]));
1743 } else if (line.includes("<-->")) {} else {
1744 p.appendChild(document.createTextNode(line));
1745 }
1746 }
1747
1748 const controlTextArray = i.controlText.split("\n");
1749 for (let lineNum = 0, length = controlTextArray.length - 1; lineNum < length; lineNum++) {

Callers 1

monitorControlTextFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected