Skip to content

Commit

Permalink
Remove jsPsychModule ref
Browse files Browse the repository at this point in the history
  • Loading branch information
richford committed Mar 24, 2022
1 parent cd66d8e commit 819839d
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 12 deletions.
10 changes: 5 additions & 5 deletions index.bundle.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions jsPsychPavlovia.bundle.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ const timeline = [];

/* init connection with pavlovia.org */
const pavloviaInit = {
type: jsPsychPavlovia,
type: jsPsychPavlovia(jsPsych),
command: 'init',
};
timeline.push(pavloviaInit);
Expand Down Expand Up @@ -481,7 +481,7 @@ timeline.push(IBIEnd);

/* finish connection with pavlovia.org */
const pavloviaFinish = {
type: jsPsychPavlovia,
type: jsPsychPavlovia(jsPsych),
command: 'finish',
participantId,
};
Expand Down
4 changes: 2 additions & 2 deletions src/jsPsychPavlovia.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
* @license Distributed under the terms of the MIT License
*/

export const jsPsychPavlovia = (function (jsPsych) {
export const jsPsychPavlovia = (jsPsych) => {
'use strict';

/**
Expand Down Expand Up @@ -648,4 +648,4 @@ export const jsPsychPavlovia = (function (jsPsych) {
};

return PavloviaPlugin;
})(jsPsychModule);
};

0 comments on commit 819839d

Please sign in to comment.