Skip to content
This repository has been archived by the owner on Mar 1, 2024. It is now read-only.

Commit

Permalink
Merge pull request #17 from brown-ccv/master
Browse files Browse the repository at this point in the history
feat: master->main, bug fixes for trials
  • Loading branch information
Rashi1997 authored Feb 9, 2021
2 parents c08030b + fe977ab commit bfcc6eb
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,9 @@ jobs:
- name: Commit & Push changes
uses: actions-js/push@master
with:
message: Update Documentation.md
message: 'Update Documentation.md'
github_token: ${{ secrets.GH_TOKEN }}
branch: 'main'

- name: Release
env:
Expand Down
2 changes: 1 addition & 1 deletion trials/fixation.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ module.exports = function (config, options) {
taskCode,
numBlinks,
buttons,
} = { defaults, ...options };
} = { ...defaults, ...options };

let stimulus =
'<div class="beads_container"><div id="fixation-dot"> </div></div>';
Expand Down
2 changes: 1 addition & 1 deletion trials/showImage.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ module.exports = function (config, options) {
responseEndsTrial,
taskCode,
numBlinks,
} = { defaults, ...options };
} = { ...defaults, ...options };

return {
type: responseType,
Expand Down
2 changes: 1 addition & 1 deletion trials/showMessage.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ module.exports = function (config, options) {
taskCode,
numBlinks,
buttons,
} = { defaults, ...options };
} = { ...defaults, ...options };

let stimulus = onstart ? baseStimulus(message) : baseStimulus(message, true);
if (config.USE_PHOTODIODE) stimulus += photodiodeGhostBox();
Expand Down
2 changes: 1 addition & 1 deletion trials/userId.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ module.exports = function (jsPsych, config, options) {
setIdMessage,
responseEndsTrial,
defaultPatientId,
} = { defaults, ...options };
} = { ...defaults, ...options };

if (config.USE_MTURK) {
return {
Expand Down

0 comments on commit bfcc6eb

Please sign in to comment.