1
1
mirror of https://github.com/github/semantic.git synced 2024-11-29 02:44:36 +03:00

Remove leaf handling from toDOM.

This commit is contained in:
Rob Rix 2015-10-23 18:26:42 -04:00
parent f00b9cca5b
commit ec9cbf4dbf

View File

@ -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;
}