mirror of
https://github.com/github/semantic.git
synced 2024-11-25 11:04:00 +03:00
Add insertions.
This commit is contained in:
parent
549f482ebe
commit
c7cc290f1d
@ -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']) {
|
||||
|
Loading…
Reference in New Issue
Block a user