Skip to content

Commit

Permalink
some detector updates to perhaps solve bug in interface (when receivi…
Browse files Browse the repository at this point in the history
…ng empty strings)
  • Loading branch information
d19fe8 committed Jul 12, 2017
1 parent 62b6206 commit 8597552
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -501,7 +501,7 @@ function receive_transaction( e ){
}
}
else{
elaborationString = "";
elaborationString = " ";
}


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,8 @@ function receive_transaction( e ){
//
var booleanValues = [0, 1];
var timeValues = ["> 25 s", "> 45 s", "> 1 min", "> 2 min", "> 5 min"];
detector_output.value = String(booleanValues[Math.floor(Math.random() * booleanValues.length)]) + "," + String(timeValues[Math.floor(Math.random() * timeValues.length)]) ;
detector_output.value = "0, > 25 s";
//detector_output.value = String(booleanValues[Math.floor(Math.random() * booleanValues.length)]) + "," + String(timeValues[Math.floor(Math.random() * timeValues.length)]) ;


}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ function receive_transaction( e ){
elaborationString = "lots of errors";
}
else{
elaborationString = "";
elaborationString = " ";
}


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ function receive_transaction( e ){
}
}
else{
elaborationString = "";
elaborationString = " ";
}


Expand Down

0 comments on commit 8597552

Please sign in to comment.