Quick refactor for the JavaScript

This commit is contained in:
Paul A 2017-10-22 18:48:54 +02:00
parent 795d8c8f53
commit 4a4a1d478b

View file

@ -73,7 +73,6 @@ function update_values() {
curr_data = data_for_processed_paste["global"]; curr_data = data_for_processed_paste["global"];
all_res.push(fetch_data("global", curr_data, "global")); all_res.push(fetch_data("global", curr_data, "global"));
} else { } else {
for(d_i in list_feeder) { for(d_i in list_feeder) {
if(list_feeder[d_i] == "global") { if(list_feeder[d_i] == "global") {
continue; continue;
@ -86,7 +85,6 @@ function update_values() {
curr_data = data_for_processed_paste[dataset]; curr_data = data_for_processed_paste[dataset];
all_res.push(fetch_data(dataset, curr_data, list_feeder[d_i])); all_res.push(fetch_data(dataset, curr_data, list_feeder[d_i]));
} }
} }
return all_res; return all_res;
} }