mirror of
https://github.com/github/semantic.git
synced 2024-11-29 02:44:36 +03:00
Keep the ranges.
This commit is contained in:
parent
56f2f6f0c0
commit
00970c03ee
@ -226,6 +226,7 @@
|
||||
function Diff(json, a, b) {
|
||||
if (json.pure != null) { this.pure = patch(json.pure, a, b); }
|
||||
if (json.roll != null) {
|
||||
this.ranges = json.extract;
|
||||
this.roll = syntax(json.roll.unwrap, function(x) { return new Diff(x, a, b); });
|
||||
}
|
||||
return this;
|
||||
|
Loading…
Reference in New Issue
Block a user