Commit 1d9d6f60 authored by Boris Kocherov's avatar Boris Kocherov

fix jslint

parent 93ed8524
......@@ -531,10 +531,10 @@
for (ii = 0; ii < key_list.length; ii += 1) {
kk = decodeJsonPointer(key_list[ii]);
if (ii === key_list.length - 1) {
if (value === undefined) {
return d[kk];
} else {
if (value !== undefined) {
d[kk] = value;
} else {
return d[kk];
}
} else {
if (!d.hasOwnProperty(kk)) {
......@@ -730,10 +730,10 @@
.declareMethod('processValidation', function (schema_url, json_dict) {
var g = this;
if (!schema_url) {
if (!g.options.schema_url) {
return g.processValidationParent(json_dict);
} else {
if (g.options.schema_url) {
schema_url = g.options.schema_url;
} else {
return g.processValidationParent(json_dict);
}
}
if (!json_dict) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment