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

Pass the DOM elements.

This commit is contained in:
Rob Rix 2015-10-21 15:49:34 -04:00
parent ead175b4e4
commit f8f82a6b16

View File

@ -66,8 +66,8 @@
if (patch.delete != null) { return term(patch.delete, before); }
if (patch.insert != null) { return term(patch.insert, after); }
if (patch.replace != null) {
if (term.patch.before != null) { term(patch.replace.before); }
if (term.patch.after != null) { term(patch.replace.after); }
if (term.patch.before != null) { term(patch.replace.before, before); }
if (term.patch.after != null) { term(patch.replace.after, after); }
}
}