Commit Graph

1990 Commits

Author SHA1 Message Date
Gustavo Juantorena
a96721272d starting the documentation for virtual chin rest plugin 2020-09-25 20:12:13 -03:00
Gustavo Juantorena
e1ec9852c8 Fixed problem going to next trial 2020-09-25 19:11:29 -03:00
Christian
47e6080d63
survey-*: stop autocomplete add param to enable
Excludes survey-multi-select since it's highly
specialized and the parameter doesn't really
apply to it.

Issue #1064
2020-09-23 21:47:15 -07:00
Christian
8d8ee8ae55
survey-html-form: add autofocus parameter
Users can provide the id of an element to focus on when the
slide is displayed. While HTML5 has an autofocus parameter
it is not universal and not all browsers support it. This
solution should work across browsers and is more in keeping
with the jsPsych object style.

Issue #1062
2020-09-23 21:05:42 -07:00
Becky Gilbert
a095e81fad fix prompt bug 2020-09-16 18:15:32 -07:00
Becky Gilbert
657418ba20
Merge pull request #736 from kupiqu/save_stimulus_start_slider
systematically saving stimulus and slider start position in all slider plugins
2020-09-16 17:25:23 -07:00
Christian
e9735c6137
Fix test failures. 2020-09-03 18:28:07 -07:00
Christian
36f637ed6e
Warn about possible deadlock per #1014
If no duration is set and a response does not end the trial, then
the trial will never end and the experiment is deadlocked. Users
will be warned about this situation and given hints on how to
fix it.
2020-09-03 18:13:35 -07:00
Gustavo Juantorena
c515d43c0d virtual chin plugin 2020-08-31 17:54:23 -03:00
Gustavo Juantorena
47726004cb jsPsych-virtual-chin-rest.js new plugin 2020-08-31 17:36:08 -03:00
Peter J. Kohler
5740d0a316 added my name to contributors 2020-08-30 10:41:19 -04:00
Peter J. Kohler
c2132ab4d7 updated free-sort docs 2020-08-29 17:13:05 -04:00
Peter J. Kohler
3e752a73f8 updated free-sort-example 2020-08-29 17:08:38 -04:00
Peter J. Kohler
92b6c2e78e updates to free-sort plugin, new functionality 2020-08-29 14:55:25 -04:00
Becky Gilbert
5efd4cba32 Merge remote-tracking branch 'upstream/master'
syncing with main jspsych repo
2020-08-20 17:01:57 -07:00
Becky Gilbert
83d43d0f02 Merge branch 'master' of https://github.com/becky-gilbert/jsPsych
Pull PRs from GitHub.
2020-08-20 16:50:09 -07:00
Becky Gilbert
c9ab05fac9
Merge pull request #3 from becky-gilbert/revert-2-master
Revert "adding new plugins"
2020-08-20 16:27:06 -07:00
Becky Gilbert
7dc91152f1
Merge pull request #995 from becky-gilbert/revert-2-master
Revert 2 master
2020-08-20 16:13:33 -07:00
Becky Gilbert
6e845754a1
Revert "adding new plugins" 2020-08-20 16:10:31 -07:00
Becky Gilbert
3277f8f433
Merge pull request #2 from hesmall/master
Add html-audio-response and audio-audio-response plugins.
2020-08-20 16:08:12 -07:00
Etienne Gaudrain
934f183b96
Patching for issue #989
Fixing inappropriate looping technique that throws error when attributing default parameters.
2020-08-19 18:52:15 +02:00
hesmall
5717805c20 adding new plugins 2020-08-16 11:16:58 -04:00
Josh de Leeuw
2cbd571a18
Delete .travis.yml 2020-08-14 22:37:57 -04:00
Josh de Leeuw
5d25665f75
fix actions file 2020-08-14 22:36:37 -04:00
Josh de Leeuw
ee60d13492
fix string error 2020-08-14 22:35:17 -04:00
Josh de Leeuw
1cbcde844f
use node 14.x for tests 2020-08-14 22:34:08 -04:00
Josh de Leeuw
c82664dc48
Add GitHub Action for Jest Testing 2020-08-14 22:32:25 -04:00
Ari Dyckovsky
183c6a6d65 Patch to graceful failure on DataCollection.first and .last
Reason:
- Expected behavior by experimenter to avoid crashing by throw exception

Changes made:
- Tightened up logic statements and returned array directly without
  shallow copy first

Notes:
- Issue #751 and #748
2020-08-14 13:47:27 -06:00
Ari Dyckovsky
9da4bb23d0 Graceful failure on DataCollection.first and .last
Reason:
- When n > number of trials, or nonpositive, failure caused crashing

Changes made:
- Update each .first and .last methods to return when n is within range,
  while throwing an error when it is not.
- Use Array.prototype.slice to create subarrays

Notes:
- Issue #751 and #748
- Unsure of precise goal for graceful failure. Should it throw an error
  create a dummy array of some length?
2020-08-13 23:22:35 -06:00
Ari Dyckovsky
1640c5341f
Update package.json to reflect organization
The name of the remote repository was attached to the previous username. This change updates the package.json references to the remote Git URLs with the organization `jspsych`.
2020-08-13 10:21:45 -06:00
kachergis
5f2a534748 fixed example trial type in video-button-response plugin 2020-07-10 20:18:15 -07:00
Salva Ardid
8729972db6 systematically saving stimulus and slider start position in all slider plugins 2020-06-02 21:43:04 -04:00
Vijay Marupudi
9c4e26173e Removed closing </link> tag 2020-05-26 20:20:03 -05:00
Vijay Marupudi
afbcaa4f3d slider_start and video duplicate id fixes. 2020-05-22 22:30:27 -05:00
Josh de Leeuw
83980085ef
Update README.md 2020-05-21 11:35:25 -04:00
Vijay Marupudi
752d34e08f Updated to reflect that video preload is supported 2020-05-19 07:33:10 -05:00
Vijay Marupudi
0c33c8277e
Updated to reflect that video preload is supported 2020-05-19 07:28:39 -05:00
Daiichiro Kuroki
a08d320b3c Enable to response by clicking string directly. 2020-05-12 13:25:51 +09:00
Chris Jungerius
7aa6736c96
final cleanup of canvas-keyboard-response 2020-05-11 18:57:51 +02:00
Chris Jungerius
251a143adc completed canvas-slider-response documentation 2020-05-11 16:59:48 +02:00
Chris Jungerius
b31f5f5cd4 finished canvas-button-response documentation 2020-05-11 16:34:43 +02:00
Chris Jungerius
c66f74fec4 finished canvas-keyboard-response documentation 2020-05-11 15:30:15 +02:00
Chris Jungerius
f17c0ddb60 started button and slider response docs 2020-05-11 14:55:58 +02:00
Chris Jungerius
c813314f98 removed testing html 2020-05-11 14:50:42 +02:00
Chris Jungerius
24d391fb51 confirmed trials are outputting all data correctly 2020-05-11 14:46:52 +02:00
Chris Jungerius
a996795831 created temp html file to test the three new plugin types, and fixed some bugs that emerged from first tests 2020-05-11 14:41:19 +02:00
Chris Jungerius
3c284f35d5 added canvas-button-response 2020-05-11 13:56:20 +02:00
Chris Jungerius
04d71b715d added canvas-slider-response; changed canvas ID to a more fitting name 2020-05-11 13:45:51 +02:00
Chris Jungerius
d1437ea9dd cleaned up canvas-keyboard-response and added option to resize canvas 2020-05-11 13:21:25 +02:00
Chris Jungerius
9f864f3602 added skeleton documentation for canvas-keyboard-response 2020-05-11 12:06:17 +02:00