mirror of
https://github.com/github/semantic.git
synced 2024-11-29 02:44:36 +03:00
Construct Diffs recursively.
This commit is contained in:
parent
be2e6f9a44
commit
276f95c669
@ -122,7 +122,7 @@
|
||||
|
||||
function Diff(json, a, b) {
|
||||
if (json.pure != null) { this.pure = patch(json.pure, a, b); }
|
||||
if (json.roll != null) { this.roll = syntax(json.roll, a, b, diff); }
|
||||
if (json.roll != null) { this.roll = syntax(json.roll, a, b, function(x, a, b) { return new Diff(x, a, b); }); }
|
||||
return this;
|
||||
}
|
||||
</script>
|
||||
|
Loading…
Reference in New Issue
Block a user