Skip to content

Commit

Permalink
2.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Yi-Chia-Chen committed Apr 10, 2020
1 parent cd746de commit 52b051c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Example Experiment/func.js
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ function CHECK_IF_RESPONDED(open_ended_list, choice_list) {
all_responded = all_responded && (open_ended_list[i].replace(/(?:\r\n|\r|\n|\s)/g, '') != '');
}
for (var i in choice_list) {
all_responded = all_responded && (typeof choice_list[i] !== 'undefined');
all_responded = all_responded && (typeof choice_list[i] != 'undefined');
}
return all_responded;
}
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
This is a tiny js/jQuery toolbox for psychological experiment by Yi-Chia Chen.

## Version History
- 2.0.1 (2020.04.09): Fix a bug
- 2.0.0 (2020.04.06): Add a progress indicator,
Add detection for elements in full view,
Split trial.end() into trial.end() and trial.save(),
Expand Down
2 changes: 1 addition & 1 deletion func.js
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ function CHECK_IF_RESPONDED(open_ended_list, choice_list) {
all_responded = all_responded && (open_ended_list[i].replace(/(?:\r\n|\r|\n|\s)/g, '') != '');
}
for (var i in choice_list) {
all_responded = all_responded && (typeof choice_list[i] !== 'undefined');
all_responded = all_responded && (typeof choice_list[i] != 'undefined');
}
return all_responded;
}
Expand Down

0 comments on commit 52b051c

Please sign in to comment.