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:
parent
f687283721
commit
a7c04a8214
@ -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)); }
|
||||
|
Loading…
Reference in New Issue
Block a user