Skip to content

Commit

Permalink
Linting lib/client/preprocessing/
Browse files Browse the repository at this point in the history
  • Loading branch information
p-flock committed Jan 16, 2020
1 parent 0c4eca0 commit e3a03c3
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 20 deletions.
20 changes: 10 additions & 10 deletions lib/client/preprocessing/api.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,16 +119,16 @@ module.exports = function (jiffClient) {

// Create preprocessing tasks
var task = {
'dependent_op' : dependent_op,
'count' : count,
'threshold' : threshold,
'receivers_list' : receivers_list,
'compute_list' : compute_list,
'Zp' : Zp,
'id_list' : id_list,
'id' : null,
'params' : params,
'protocols' : protocols
dependent_op : dependent_op,
count : count,
threshold : threshold,
receivers_list : receivers_list,
compute_list : compute_list,
Zp : Zp,
id_list : id_list,
id : null,
params : params,
protocols : protocols
};
jiffClient.preprocessingTasks.add(task);

Expand Down
20 changes: 10 additions & 10 deletions lib/client/preprocessing/daemon.js
Original file line number Diff line number Diff line change
Expand Up @@ -141,17 +141,17 @@ module.exports = function (jiffClient) {
}

var nextTask = {
'dependent_op' : next_op,
'count' : next_count, // maybe should always be 1
'threshold' : task.threshold,
'receivers_list' : task.receivers_list,
'compute_list' : task.compute_list,
'Zp' : task.Zp,
'id_list' : next_id_list,
dependent_op : next_op,
count : next_count, // maybe should always be 1
threshold : task.threshold,
receivers_list : task.receivers_list,
compute_list : task.compute_list,
Zp : task.Zp,
id_list : next_id_list,
//TODO give this a value (e.g. 'next_id_list[0]' or 'task.id + dependency['op_id']')
'id' : null,
'params' : extra_params,
'protocols' : task.protocols
id : null,
params : extra_params,
protocols : task.protocols
};
newTasks.add(nextTask);
}
Expand Down

0 comments on commit e3a03c3

Please sign in to comment.