1
1
mirror of https://github.com/github/semantic.git synced 2024-12-26 16:33:03 +03:00

Find the before/after elements.

This commit is contained in:
Rob Rix 2015-10-21 12:59:37 -04:00
parent 0fd240ee3d
commit 698bc16a98

View File

@ -59,6 +59,8 @@
}
function patch(patch) {
var before = document.getElementById("before");
var after = document.getElementById("after");
// fixme: handle annotated terms
if (patch["delete"] != null) {}
if (patch["insert"] != null) {}