1
1
mirror of https://github.com/github/semantic.git synced 2024-11-25 11:04:00 +03:00

Add insertions.

This commit is contained in:
Rob Rix 2015-10-13 10:59:45 -04:00
parent 549f482ebe
commit c7cc290f1d

View File

@ -38,6 +38,9 @@
} else if (json instanceof Object) {
if (json['source'] != null) {
div.textContent = json['source'];
} else if (json['insert']) {
div.classList.add('insert');
div.appendChild(toDOM(json['insert']));
}
if (json['categories'] != null) {
for (index in json['categories']) {