mirror of
https://github.com/ail-project/ail-framework.git
synced 2024-11-27 00:07:16 +00:00
Fixed some code for the JavaScript (coding-style)
This commit is contained in:
parent
48fc8e3464
commit
f6b6777095
1 changed files with 9 additions and 11 deletions
|
@ -131,8 +131,7 @@ source.onmessage = function(event) {
|
||||||
create_log_table(feed);
|
create_log_table(feed);
|
||||||
};
|
};
|
||||||
|
|
||||||
function pad_2(number)
|
function pad_2(number) {
|
||||||
{
|
|
||||||
return (number < 10 ? '0' : '') + number;
|
return (number < 10 ? '0' : '') + number;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -179,7 +178,6 @@ function create_log_table(obj_json) {
|
||||||
window.paste_num_tabvar_all["global"] = paste_processed;
|
window.paste_num_tabvar_all["global"] = paste_processed;
|
||||||
time_since_last_pastes_num["global"] = new Date().getTime();
|
time_since_last_pastes_num["global"] = new Date().getTime();
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
if (list_feeder.indexOf(feeder) == -1) {
|
if (list_feeder.indexOf(feeder) == -1) {
|
||||||
list_feeder.push(feeder);
|
list_feeder.push(feeder);
|
||||||
data_for_processed_paste["Proc"+feeder] = Array(totalPoints+1).join(0).split('');
|
data_for_processed_paste["Proc"+feeder] = Array(totalPoints+1).join(0).split('');
|
||||||
|
|
Loading…
Reference in a new issue