Commit d82eab94 authored by Boris Kocherov's avatar Boris Kocherov

simplify

parent bede4ed3
......@@ -847,10 +847,7 @@
input.placeholder = "name of " + title;
div_input.appendChild(input);
return RSVP.Queue()
.push(function () {
return expandSchema(g, schema, schema_path);
})
return expandSchema(g, schema, schema_path)
.push(function (schema_arr) {
var queue = RSVP.Queue(),
property_name;
......@@ -915,10 +912,7 @@
default_dict = {};
}
return RSVP.Queue()
.push(function () {
return expandProperties(g, json_field.properties, schema_path + '/properties/');
})
return expandProperties(g, json_field.properties, schema_path + '/properties/')
.push(function (ret) {
var schema_arr,
q = RSVP.Queue(),
......
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