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