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

Add replacements to the DOM.

This commit is contained in:
Rob Rix 2015-10-13 11:01:32 -04:00
parent 984858bb9c
commit 5d864a7f3d

View File

@ -44,6 +44,9 @@
} else if (json['delete'] != null) {
div.classList.add('delete');
div.appendChild(toDOM(json['delete']));
} else if (json['replace'] != null) {
div.classList.add('replace');
div.appendChild(toDOM(json['replace']));
}
if (json['categories'] != null) {
for (index in json['categories']) {