mirror of
https://github.com/github/semantic.git
synced 2024-12-26 16:33:03 +03:00
Return an element for leaves.
This commit is contained in:
parent
86467ff4f4
commit
25e9054d06
@ -98,6 +98,12 @@
|
||||
}
|
||||
return element;
|
||||
}
|
||||
|
||||
if (model.syntax instanceof Leaf) {
|
||||
var element = document.createElement("span");
|
||||
// ?
|
||||
return element;
|
||||
}
|
||||
}
|
||||
|
||||
function patch(patch, a, b) {
|
||||
|
Loading…
Reference in New Issue
Block a user