Commit Graph

798 Commits

Author SHA1 Message Date
Josh de Leeuw
c156bcc444 small update to info section 2021-09-17 13:56:35 -04:00
Josh de Leeuw
af0dad88ec initial draft of extension dev, incomplete 2021-09-17 10:38:42 -04:00
Josh de Leeuw
3192a871d0 small edits to plugin dev 2021-09-17 10:38:26 -04:00
Josh de Leeuw
a08f05e26f remove TS example 2021-09-17 10:05:22 -04:00
Josh de Leeuw
a7c26a27ff rename events page 2021-09-17 09:53:54 -04:00
Josh de Leeuw
b947aefe26 draft complete of plugin development 2021-09-17 09:53:40 -04:00
Becky Gilbert
d6f6df69a9 replace jsPsych.init with initJsPsych/jsPsych.run in .md files (WIP) 2021-09-16 17:38:51 -07:00
Becky Gilbert
18b536fdf8 replace trial type and extension strings with plugin/extension classes, remove unnecessary preload scripts, add card image preload to virtual-chinrest demos and use CDN link 2021-09-16 16:22:13 -07:00
Josh de Leeuw
dbbfd46746 more work on plugin development 2021-09-16 15:43:49 -04:00
Josh de Leeuw
e6bfbd8c72 forgot to stage stuff in the last commit; here it is! 2021-09-16 15:17:54 -04:00
Josh de Leeuw
b8bbcd2f01 variety of documentation updates, including restructuring 2021-09-16 15:05:51 -04:00
Becky Gilbert
37d8f9f4ad replace all instances of jsPsych.init with initJsPsych/jsPsych.run in HTML files 2021-09-16 10:15:12 -07:00
Josh de Leeuw
5ed2340157 rename core_library to reference 2021-09-15 15:10:23 -04:00
Josh de Leeuw
9d74f9223c first draft of new hello world tutorial 2021-09-15 12:54:36 -04:00
Josh de Leeuw
64e7ff0b46 add warning message about 7.0 to video tutorial page 2021-09-15 12:54:22 -04:00
Josh de Leeuw
dd94925728 Begin changes to hello world 2021-09-15 10:08:34 -04:00
bjoluc
6a8596fb76 Merge branch 'main' into modularization 2021-09-14 20:36:05 +02:00
Josh de Leeuw
12d675320f
Allow on_finish to return a Promise and delay the endExperiment message. (#2142)
* implement Promise handling for on_finish() experiment event. #2050 #1850

* add documentation
2021-09-10 13:40:56 -04:00
Becky Gilbert
1c059608f3 remove repetitions_per_point parameter - fixes #2131 2021-09-07 10:37:07 -07:00
Josh de Leeuw
213fffc516
Merge pull request #2106 from jspsych/docs-demos
Add live demos to the documentation
2021-08-31 10:22:14 -04:00
Josh de Leeuw
3bbfaa45b6 a minimal fix for #1908 2021-08-30 14:02:09 -04:00
Josh de Leeuw
5e6c5d2352 expand reconstruction demo, make rdk demo only open in new tab 2021-08-30 13:04:14 -04:00
Josh de Leeuw
bfaad26520 add virtual chinrest demo 2021-08-30 12:46:38 -04:00
Josh de Leeuw
8afcce533f fix broken links 2021-08-30 11:19:38 -04:00
Josh de Leeuw
8da02641c1 add preload demos 2021-08-30 11:13:46 -04:00
Josh de Leeuw
5b7ca0c236 fix broken links 2021-08-30 10:10:31 -04:00
Josh de Leeuw
984ce8761a add eye tracking demo 2021-08-30 10:09:29 -04:00
Daiichiro Kuroki
bacea1ddcd Add live demos for the maxdiff, rdk, reconstruction, and resize plugin. 2021-08-30 15:00:11 +09:00
Josh de Leeuw
462c262231 WIP eye tracking demo 2021-08-27 16:28:42 -04:00
Josh de Leeuw
2cb45137ad move all demos into root /demos folder in docs 2021-08-27 16:13:58 -04:00
Josh de Leeuw
9e0f2543b4 add serial-reaction-time-* demos 2021-08-27 15:44:53 -04:00
Josh de Leeuw
5b1b2c31a0 fullscreen demo 2021-08-27 15:10:36 -04:00
Josh de Leeuw
51c889ba3e add fullscreen demo 2021-08-27 15:06:58 -04:00
Josh de Leeuw
8456d2377e add same-different-* demos 2021-08-27 14:54:20 -04:00
Josh de Leeuw
1e4888e317 add demos for vsl-* plugins 2021-08-27 14:10:49 -04:00
Josh de Leeuw
91ed85f4ad add live demos for video plugins 2021-08-27 12:22:11 -04:00
Josh de Leeuw
40a54d8264 add survey-html-form examples 2021-08-27 11:06:05 -04:00
Josh de Leeuw
629963f4d3 add survey-likert demos 2021-08-27 10:55:33 -04:00
Josh de Leeuw
c8ba33d9ad fix file name 2021-08-27 10:55:26 -04:00
Josh de Leeuw
4b4adf660c add survey-multi-choice and survey-multi-select live demos 2021-08-27 10:36:00 -04:00
kurokida
84f64934e0 Create live demos for the IAT and image-button/keyboard/slider plugins. 2021-08-27 15:26:10 +09:00
Josh de Leeuw
a675cba23c add demos for survey-text 2021-08-26 15:34:00 -04:00
Josh de Leeuw
8f80425206 fix preload in vsc demo 2021-08-26 15:33:50 -04:00
Josh de Leeuw
d10a5b3086 add demo for visual-search-circle 2021-08-26 14:17:33 -04:00
Josh de Leeuw
5d060f6b96 rename getter methods, update docs 2021-08-23 13:11:32 -04:00
bjoluc
9c519853fe Use enum for parameter types and remove JsPsych.plugins
`const parameterType` is now `enum ParameterType` and can only be
accessed by importing it.
2021-08-17 17:19:25 +02:00
Daiichiro Kuroki
e8be19ad89 Create live demos for jspsych-html-* plugin 2021-08-04 15:13:44 +09:00
Daiichiro Kuroki
6c9725c5c8 Create live demos for the external-html and free-sort plugins. 2021-07-29 14:10:58 +09:00
Daiichiro Kuroki
bedf5becbf Create live demos for the categorize-html, categorize-image, and cloze plugins 2021-07-28 17:26:43 +09:00
Becky Gilbert
0a0813bb25 remove server async demo and replace with simulated wait example 2021-07-12 14:39:42 -07:00
Becky Gilbert
d5f7039ba7 tweak prompt wording 2021-07-12 13:51:31 -07:00
Becky Gilbert
895974b418 change demo file paths 2021-07-12 13:41:11 -07:00
Becky Gilbert
ad244e5f8c fix syntax error 2021-07-12 13:29:43 -07:00
kurokida
d62c553edd Modify the indentations and the explanation of the prompt parameter. 2021-07-12 13:46:45 +09:00
Daiichiro Kuroki
51925a5b88 Create live demos for categorize-animation 2021-07-09 15:04:56 +09:00
Daiichiro Kuroki
93d9a9ec71 Craete live demos for call-function 2021-07-09 13:14:25 +09:00
Daiichiro Kuroki
773dc0e9da Merge branch 'docs-demos' of https://github.com/jspsych/jsPsych into docs-demos 2021-07-09 11:52:35 +09:00
Daiichiro Kuroki
df92593ec7 Create live demos for canvas-slider-response 2021-07-09 11:52:28 +09:00
Daiichiro Kuroki
c93e3f01e2 Create live demos for canvas-keyboard-response 2021-07-09 10:37:24 +09:00
Becky Gilbert
bbb60955f2 fix demo file paths, remove compareKeys for button press comparison 2021-07-08 14:54:18 -07:00
Becky Gilbert
2704ee190b fix demo file path 2021-07-08 14:53:07 -07:00
Becky Gilbert
d7c63e7dec fix code/demo indentation and demo links 2021-07-08 14:43:11 -07:00
Becky Gilbert
2c6307efce tweak example code indentation 2021-07-08 13:37:48 -07:00
Nikolay Petrov
43397d230d
Fixing typo in the maintain_aspect_ratio parameter. 2021-07-07 12:56:07 +01:00
Sally
9d5c41b825 Add demo 3 - new example of changes to button text 2021-07-07 10:54:31 +02:00
Sally
5f324172c5 Add demo 2 - text and image. Updated example. 2021-07-07 10:50:14 +02:00
Sally
92de90b810 Add demo 1 - multi page text 2021-07-07 10:49:48 +02:00
Sally
2a3aeeac8b Restructure to include demo iframes 2021-07-07 10:36:11 +02:00
Becky Gilbert
3221cfa832 tweak jsPsych Builder info box text #1912 2021-07-02 11:40:18 -07:00
Daiichiro Kuroki
27afe31eb6 Update the canvas-button-response.md for the live demo 2021-07-02 12:05:28 +09:00
Daiichiro Kuroki
3616c32fa9 Modify the path of the animation-demo file 2021-07-02 12:02:24 +09:00
Becky Gilbert
d5efdb301e minor tweaks to jsPsych-builder text 2021-07-01 13:49:32 -07:00
Daiichiro Kuroki
cf3770d2fc Separate code snippets 2021-06-30 12:15:27 +09:00
Daiichiro Kuroki
800b7dc73b Add a demo for the canvas-button-response plugin. 2021-06-29 14:17:49 +09:00
Becky Gilbert
3757c1dfc1 use tabbed md extension for code/demos, remove iframe border, add more demos, move link to inside admonition 2021-06-24 16:20:12 -07:00
Becky Gilbert
41b03ac54c reduce iframe size, show data from single trial, add loop and repeat button, open in new tab, collapse iframe 2021-06-24 11:52:40 -07:00
Becky Gilbert
5ba8aecd1f first attempt at adding live demos into iframes in docs pages 2021-06-22 15:33:24 -07:00
bjoluc
4bc8d517ed add jsPsych Builder reference to docs 2021-06-20 23:48:24 +02:00
Becky Gilbert
e7eb6a6f5e fix typo - fixes #1840 2021-05-20 10:16:29 -07:00
Becky Gilbert
316aa679fc fix error in docs example (missing comma) - fixes #1840 2021-05-19 14:41:08 -07:00
Becky Gilbert
7681e5cb73
Merge pull request #1781 from moltaire/fix-validate-doc-title
Fixed jspsych-webgazer-validate plugin documentation title
2021-05-18 15:13:04 -07:00
Andrian Vangelov
21562d92eb
Update parameter name in experiment-options.md
Updated docs on "Choose whether you want keyboard choices/responses to be case-sensitive", where the mentioned "case_sensitive" parameter must be "case_sensitive_responses" instead, as it is otherwise correctly implemented and mentioned in other places in the documentation (e.g. "jspsych-pluginAPI.md" - starting at line 112 and "jspsych-core.md" at line 368). The "case_sensitive" variable is used only internally (e.g. "jspsych.js" - lines 2273 and 2411), but not exposed to the "jsPsych.init" method when creating an experiment. Tested with the latest release (6.3.1) with the "jspsych-html-keyboard-response" plugin and I can verify that by following the old documentation it doesn't work (for obvious reasons), but following the one I propose here it does work, as initially intended by the developers. Thanks!
2021-05-12 11:57:00 +02:00
Felix Molter
579e112d5b
Fixed plugin documentation title
Fixes the title of the documentation page for the `jspsych-webgazer-validate` plugin.
2021-04-30 08:53:09 +02:00
Josh de Leeuw
f0cd0aae9c fix missing link 2021-04-09 12:45:55 -04:00
Josh de Leeuw
cec803c7fa
Merge branch 'master' into feature-eye-tracking-improvements 2021-04-09 12:16:23 -04:00
Josh de Leeuw
8aaceab759 update docs 2021-04-09 12:04:05 -04:00
Josh de Leeuw
221b7df052 get threaded ridge regression working, update docs, example, improve extension code 2021-04-08 15:22:58 -04:00
Becky Gilbert
b21ff083f8 add note to image-* plugin docs about animated gifs and render_on_canvas - fixes #1594 2021-03-24 15:38:12 -07:00
Becky Gilbert
163f3479b0 fix docs formatting issues, edit code blocks for consistency 2021-03-24 15:07:28 -07:00
Josh de Leeuw
646873880f add docs about onGazeUpdate 2021-03-15 10:40:59 -04:00
Josh de Leeuw
a5b9a915f9 add option to resetCalibration 2021-03-05 09:54:15 -05:00
Josh de Leeuw
bf9dec250b Merge branch 'master' of https://github.com/jspsych/jsPsych 2021-03-01 13:25:57 -05:00
Josh de Leeuw
2a4a1fafa0 fix docs formatting for callbacks page 2021-03-01 13:25:54 -05:00
Josh de Leeuw
bbd50935d3 add note about permission to overview 2021-03-01 10:24:09 -05:00
Josh de Leeuw
d330c4ad7d separate camera init from experiment init; dot size options 2021-03-01 10:16:42 -05:00
Becky Gilbert
4a59c863aa fix more webgazer links in docs #1562 2021-02-24 12:45:30 -08:00
Becky Gilbert
e8a326ee5f fix webgazer links in docs #1562 2021-02-24 12:21:27 -08:00
Becky Gilbert
7e8b83825d fix link 2021-02-21 15:05:37 -08:00
Becky Gilbert
f96fc0f114 fix links 2021-02-21 14:56:47 -08:00
Becky Gilbert
3a4ad0c3ee fix links 2021-02-21 14:51:48 -08:00