1
1
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:
Rob Rix 2015-10-21 16:31:53 -04:00
parent 4f671e461c
commit 86467ff4f4

View File

@ -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) {