jspsych/jsPsych: jspsych@7.0.0
Authors/Creators
Description
#2183
c8760b1Thanks @jodeleeuw, @becky-gilbert, @bjoluc! - jsPsych is now fully modular, with individual NPM packages for the core library, plugins, and extensions.To support this change, we've made a number of breaking changes. We've added a guide for migrating from version 6.x to 7.x to the documentation, and updated the hello world tutorial with instructions for configuring jsPsych in three different ways. In addition to enabling package management, some of the benefits that this change provides include an improved developer experience with IntelliSense code hints, proper encapsulation of jsPsych so that multiple instances can be run on the same page, and easier integration with modern JavaScript tools like bundlers.
- #2130
2802430Thanks @jodeleeuw! - Added the option for plugins to return aPromiseand delay the execution of theon_loadevent handler for the trial until the plugin manually invokes it. This allows for plugins that have asynchronous components to finish loading before triggering theon_loadevent. Added this functionality to all plugins that currently require it.
- #2100
b0d77e7Thanks @jodeleeuw! - Renamed all getter-type functions to havegetprefix to make it clearer what the role of these functions are. The following were affected:currentTimelineNodeID->getCurrentTimelineNodeIDprogress->getProgressstartTime->getStartTimetotalTime->getTotalTimecurrentTrial->getCurrentTrialinitSettings->getInitSettingsallTimelineVariables->getAllTimelineVariables
- #2142
12d6753Thanks @jodeleeuw! - WhenjsPsych.endExperimentis called it provides the option of displaying a message on the screen. If theon_finishevent handler ininitJsPsych()returns aPromisethen the message will now display only after the promise has resolved.
- #2129
f37f64aThanks @jodeleeuw! - All duration measurements, including response times, are now rounded to the nearest millisecond. We changed this because the precision thatperformance.now()generates is misleading in this context and removing the (often very long) decimal component of the measurement will save space in the data files.
- #2121
03517a0Thanks @zimmerrol! - Updatedturk.submitToTurk()to usePOSTinstead ofGETto avoid errors where too much data is transmitted.
Files
jspsych/jsPsych-jspsych@7.0.0.zip
Files
(11.7 MB)
| Name | Size | Download all |
|---|---|---|
|
md5:e292ebf2723b67ad66210049f81acc45
|
11.7 MB | Preview Download |
Additional details
Related works
- Is supplement to
- https://github.com/jspsych/jsPsych/tree/jspsych@7.0.0 (URL)