From ccc57c6411ae21067b5104d286ade6f02455ae36 Mon Sep 17 00:00:00 2001 From: Rob Rix Date: Fri, 23 Oct 2015 18:55:30 -0400 Subject: [PATCH] Correct the hash passed to Diff. --- prototype/UI/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prototype/UI/index.html b/prototype/UI/index.html index 28cc1b0b2..794ff2b54 100644 --- a/prototype/UI/index.html +++ b/prototype/UI/index.html @@ -158,7 +158,7 @@ function diffFromJSON(json) { if (json.pure != null) { return new Diff({ pure: new Patch(json.pure) }); } if (json.roll != null) { - return new Diff({ ranges: json.roll.extract, roll: new Syntax(json.roll.unwrap, function(x) { return diffFromJSON(x); }) }); + return new Diff({ roll: { extract: json.roll.extract, unwrap: new Syntax(json.roll.unwrap, function(x) { return diffFromJSON(x); }) } }); } }