1
1
mirror of https://github.com/github/semantic.git synced 2024-11-25 11:04:00 +03:00

keyed produces a hash.

This commit is contained in:
Rob Rix 2015-10-21 16:01:45 -04:00
parent 89f218021f
commit d425c007e6

View File

@ -93,9 +93,11 @@
}
function keyed(object, a, b, continuation) {
var out = {};
for (key in object) {
continuation(object[key], a, b);
out[key] = continuation(object[key], a, b);
}
return out;
}
function syntax(json, a, b, continuation) {