mirror of
https://github.com/status-im/NimYAML.git
synced 2025-01-14 13:34:24 +00:00
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…
x
Reference in New Issue
Block a user