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:
parent
2bd26cd80c
commit
89f218021f
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user