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

Leaves are just passed straight through.

This commit is contained in:
Rob Rix 2015-10-21 16:01:22 -04:00
parent 2bd26cd80c
commit 89f218021f

View File

@ -101,7 +101,7 @@
function syntax(json, a, b, continuation) {
if (json instanceof Array) { return indexed(json, a, b, continuation); }
if (json instanceof Object) { return keyed(json, a, b, continuation); }
// fixme: handle leaves
return continuation(json, a, b);
}
function diff(json, a, b) {