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>
|
</section>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
function setTextContent(element, text) {
|
function setTextContent(element, text) {
|
||||||
while (element.firstChild!==null) {
|
element.innerHTML = text;
|
||||||
element.removeChild(element.firstChild); // remove all existing content
|
|
||||||
}
|
|
||||||
element.appendChild(document.createTextNode(text));
|
|
||||||
}
|
}
|
||||||
function parse() {
|
function parse() {
|
||||||
var r = new XMLHttpRequest();
|
var r = new XMLHttpRequest();
|
||||||
|
|
Loading…
Reference in New Issue