mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-26 15:57:16 +00:00
Quick refactor for the JavaScript
This commit is contained in:
parent
795d8c8f53
commit
4a4a1d478b
1 changed files with 65 additions and 67 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue