40,275
edits
m (for now) |
m (silly mediawiki) |
||
entry.classList.add('arcanum-entry');
// add lines
json.lines.forEach(function(line
// create speaker element
const speaker = document.createElement('h4');
speaker.innerText = line.speaker;
// append the speaker and html from the line
entry.appendChild(entry);
entry.innerText += line.text;
});
// place container on page
console.log(entry);
})
})
|