brutusin / brutusin/json-forms

$ref?

Open
#61 5 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
JavaScript
Stars
618
Forks
171
PR merge metrics
No merged PRs in 30d

Description

$ref should do an ajax call (with id of the schema?)

but actually :
function getDefinition(path) {
var parts = path.split('/');
var def = root;
for (var p in parts) {
if (p === "0")
continue;
def = def[parts[p]];

}
return def;
}

i dont understand well what that's doing !
how that's work ? sorry it is more a question than an "issue" perhaps, feel free to close it.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.