mirror of https://github.com/status-im/NimYAML.git
Updated from master
This commit is contained in:
parent
97cd593463
commit
bc9df81800
|
@ -88,10 +88,7 @@
|
|||
</section>
|
||||
<script type="text/javascript">
|
||||
function setTextContent(element, text) {
|
||||
while (element.firstChild!==null) {
|
||||
element.removeChild(element.firstChild); // remove all existing content
|
||||
}
|
||||
element.appendChild(document.createTextNode(text));
|
||||
element.innerHTML = text;
|
||||
}
|
||||
function parse() {
|
||||
var r = new XMLHttpRequest();
|
||||
|
|
Loading…
Reference in New Issue