mirror of
https://github.com/github/semantic.git
synced 2024-11-25 11:04:00 +03:00
Insert indexed nodes as a list.
This commit is contained in:
parent
4f671e461c
commit
86467ff4f4
@ -90,6 +90,14 @@
|
||||
}
|
||||
return element;
|
||||
}
|
||||
|
||||
if (model.syntax instanceof Indexed) {
|
||||
var element = document.createElement("ul");
|
||||
for (i in model.syntax) {
|
||||
element.appendChild(wrap("li", toDOM(model.syntax[i])));
|
||||
}
|
||||
return element;
|
||||
}
|
||||
}
|
||||
|
||||
function patch(patch, a, b) {
|
||||
|
Loading…
Reference in New Issue
Block a user