Skip to content

Commit 439b23f

Browse files
committed
Remove demo display
1 parent 173613f commit 439b23f

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

code-input.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -656,12 +656,7 @@ var codeInput = {
656656
let numNewNodes = nodesToInsert.length;
657657

658658
// Place these highlighted token(s) back into the result element
659-
document.querySelector("#demo").innerHTML = "";
660659
for(let i = 0; i < nodesToInsert.length; i++) {
661-
// if(nodesToInsert[i].nodeType != 3) {
662-
// // nodesToInsert[i].style.backgroundColor = "#" + "0123456789abcdef"[Math.floor(Math.random() * 16)] + "0123456789abcdef"[Math.floor(Math.random() * 16)] + "0123456789abcdef"[Math.floor(Math.random() * 16)];
663-
// }
664-
document.querySelector("#demo").appendChild(nodesToInsert[i].cloneNode(true));
665660
if(lineUntilEnd) {
666661
this.codeElement.appendChild(nodesToInsert[i]);
667662
} else {

0 commit comments

Comments
 (0)