mirror of
https://github.com/github/semantic.git
synced 2024-12-26 08:25:19 +03:00
Add nodes’ text content.
This commit is contained in:
parent
d38038b573
commit
fff6bcf2fe
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user