1
1
mirror of https://github.com/github/semantic.git synced 2024-12-26 00:12:29 +03:00

Add nodes’ text content.

This commit is contained in:
Rob Rix 2015-10-13 10:56:34 -04:00
parent d38038b573
commit fff6bcf2fe

View File

@ -37,6 +37,9 @@
div.appendChild(toDOM(json[index]));
}
} else if (json instanceof Object) {
if (json['source'] != null) {
div.textContent = json['source'];
}
for (key in json) {
console.log(key);
}