Commit d82eab94 authored by Boris Kocherov's avatar Boris Kocherov

simplify

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