mirror of
https://github.com/github/semantic.git
synced 2024-11-25 02:58:36 +03:00
Remove leaf handling from toDOM.
This commit is contained in:
parent
f00b9cca5b
commit
ec9cbf4dbf
@ -182,14 +182,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
if (model instanceof Leaf) {
|
||||
element = document.createElement("span");
|
||||
if (model.source != null && model.range != null) {
|
||||
element.textContent = model.source.substr(model.range[0], model.range[1]);
|
||||
}
|
||||
// ?
|
||||
}
|
||||
|
||||
return element;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user