fix typo in localSave link

This commit is contained in:
Becky Gilbert 2020-12-07 13:46:14 -08:00
parent 4f81bc1f57
commit 82c0eeafb3
2 changed files with 2 additions and 2 deletions

View File

@ -39,7 +39,7 @@ It is important to test your experiment to ensure that any media files are prelo
### Permanent data storage
As explained in the [Data Storage, Aggregation, and Manipulation](data.md#data-in-jspsych-permanent-and-non-permanent-data) page, jsPsych stores information in the participant's browser. While running an experiment offline, you won't be able to send the data to a database. However you can still see the data that jsPsych collects by saving it as a local file (using [`jsPsych.data.get().localSave`](j../core_library/jspsych-data.md#localsave)), displaying it in the webpage at the end of the experiment (using [`jsPsych.data.displayData`](../core_library/jspsych-data.md#jspsychdatadisplaydata)), or printing it to the browser's console (using [`console.log`](https://www.w3schools.com/jsref/met_console_log.asp)).
As explained in the [Data Storage, Aggregation, and Manipulation](data.md#data-in-jspsych-permanent-and-non-permanent-data) page, jsPsych stores information in the participant's browser. While running an experiment offline, you won't be able to send the data to a database. However you can still see the data that jsPsych collects by saving it as a local file (using [`jsPsych.data.get().localSave`](../core_library/jspsych-data.md#localsave)), displaying it in the webpage at the end of the experiment (using [`jsPsych.data.displayData`](../core_library/jspsych-data.md#jspsychdatadisplaydata)), or printing it to the browser's console (using [`console.log`](https://www.w3schools.com/jsref/met_console_log.asp)).
Permanent data storage is also necessary when the code that runs the experiment depends on information that can't be known in advance, and that changes throughout data collection. Some common examples of this in cognitive behavioral research are **version counterbalancing**, where the experiment code needs to access and update the history of version assignment in order to determine which version should be assigned, and **multi-session/training studies**, where the experiment might need to access and update information about each participant like their current session number, task difficulty level, etc.

View File

@ -120,7 +120,7 @@ window.jsPsych = (function() {
console.warn("jsPsych detected that it is running via the file:// protocol and not on a web server. "+
"To prevent issues with cross-origin requests, Web Audio and video preloading have been disabled. "+
"If you would like to override this setting, you can set 'override_safe_mode' to 'true' in jsPsych.init. "+
"For more information, see: https://www.jspsych.org/core_library/jspsych-core/#jspsychinit");
"For more information, see: https://www.jspsych.org/overview/running-experiments");
}
// override default options if user specifies an option