1
1
mirror of https://github.com/github/semantic.git synced 2024-11-29 02:44:36 +03:00

Correct Syntax.Keyed construction.

This commit is contained in:
Rob Rix 2015-10-23 19:20:06 -04:00
parent 62000715e8
commit 4a9ff5118a

View File

@ -143,7 +143,7 @@
function Syntax(json, continuation) {
if (json.indexed != null) { this.indexed = json.map(continuation); }
if (json.keyed != null) { this.keyed = (new Dictionary(json)).map(continuation); }
if (json.keyed != null) { this.keyed = (new Dictionary(json.keyed)).map(continuation); }
if (json.leaf != null) { this.leaf = json; }
return this;
}