1
1
mirror of https://github.com/github/semantic.git synced 2024-11-25 11:04:00 +03:00

Don’t fetch the before/after terms.

This commit is contained in:
Rob Rix 2015-10-21 15:51:47 -04:00
parent f687283721
commit a7c04a8214

View File

@ -84,9 +84,6 @@
}
function patch(patch) {
var before = document.getElementById("before");
var after = document.getElementById("after");
if (patch.delete != null) { return Delete(term(patch.delete)); }
if (patch.insert != null) { return Insert(term(patch.insert)); }
if (patch.replace != null) { return Replace(term(patch.replace.before), term(patch.replace.after)); }