From b42d5238d15d1d6c194f57843db16c3615d0a4f6 Mon Sep 17 00:00:00 2001 From: Rob Rix Date: Fri, 23 Oct 2015 19:22:22 -0400 Subject: [PATCH] Correct Syntax.Leaf construction. --- 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 42c11acd7..f9ec2f8c0 100644 --- a/prototype/UI/index.html +++ b/prototype/UI/index.html @@ -144,7 +144,7 @@ function Syntax(json, continuation) { if (json.indexed != null) { this.indexed = json.indexed.map(continuation); } if (json.keyed != null) { this.keyed = (new Dictionary(json.keyed)).map(continuation); } - if (json.leaf != null) { this.leaf = json; } + if (json.leaf != null) { this.leaf = json.leaf; } return this; }