Commit Graph

1795 Commits

Author SHA1 Message Date
Christian
ebb6fce877
survey-html-form: validate autofocus parameter
When the autofocus parameter is set, check that
the specified element exists in the DOM and
check that the specified ID is unique. If there
is not exactly 1 element with the given ID, warn
the user about unexpected behavior.
2020-10-01 19:45:49 -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
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
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
Salva Ardid
8729972db6 systematically saving stimulus and slider start position in all slider plugins 2020-06-02 21:43:04 -04:00
Josh de Leeuw
83980085ef
Update README.md 2020-05-21 11:35:25 -04:00
Josh de Leeuw
9de501e9da
Merge pull request #667 from hrcn/patch-1
Variable name error?
2020-01-29 16:06:01 -05:00
Rui Han
a5650993ed
Variable name error? 2020-01-29 16:02:24 -05:00
Josh de Leeuw
87571e9cc9 fixes #659 2019-10-17 15:46:26 -04:00
Josh de Leeuw
d3094bb088
Merge pull request #658 from becky-gilbert/master
Added Code of Conduct
2019-10-17 10:15:10 -04:00
Becky Gilbert
9a75d5f5f1 revert changes to video plugins 2019-10-17 15:00:15 +01:00
Becky Gilbert
854f91a378 added BG to contributors 2019-10-17 10:09:16 +01:00
Becky Gilbert
5a95b8dee4 modified CoC text 2019-10-17 10:08:05 +01:00
Becky Gilbert
8b18d2c43d fixed formatting issue 2019-08-30 14:56:03 +01:00
Becky Gilbert
ce12eb8858 fixed bug in video-* plugin data 2019-08-30 14:40:25 +01:00
Becky Gilbert
7f40db7de7 added CoC 2019-08-30 14:33:06 +01:00
Josh de Leeuw
542a6b1734
Merge pull request #643 from cthorey/fix-rdk-fixation-cross-color
[FIX] fixation_cross_color in the rdk plugin
2019-07-22 17:13:37 -04:00
clement thorey
173aa28d64 [FIX] typo 2019-07-22 20:16:41 +01:00
Josh de Leeuw
ef5b1f53ff minor docs updates 2019-07-16 11:39:39 -04:00
Josh de Leeuw
c5bc9023e3 video tests, step package version 2019-07-16 11:00:04 -04:00
Josh de Leeuw
83f3a17024 docs tweaks 2019-07-15 16:39:27 -04:00
Josh de Leeuw
e714214fc4 check TOC; make necessary changes #617 2019-07-15 14:55:36 -04:00
Josh de Leeuw
5a56431f8d add name option for survey plugins #608 2019-07-15 12:06:10 -04:00
Josh de Leeuw
c83e115f9b add name option to survey-text #608 2019-07-15 10:54:26 -04:00
Josh de Leeuw
4c5c4af92c adding documentation for #636 2019-07-15 10:25:06 -04:00
Josh de Leeuw
6cf949766a adding documentation for video plugins #636 2019-07-12 17:02:06 -04:00
Josh de Leeuw
68d8c40ea6 remove old video plugin #636 2019-07-12 11:39:20 -04:00
Josh de Leeuw
7e33af85cb add video-* plugins #636 2019-07-12 11:38:21 -04:00
Josh de Leeuw
6be86017c8
Merge pull request #622 from designatednerd/master
Add video trial requiring a keyboard response
2019-07-11 10:40:38 -04:00
Josh de Leeuw
c126b58f0a implement scale_width #633 2019-07-11 10:29:47 -04:00
Josh de Leeuw
b4ca37be1c implement experiment_width #572 2019-07-11 10:21:50 -04:00
Josh de Leeuw
d120b3b470 implement alternating groups sample method (#528) 2019-07-08 21:53:40 -04:00
Josh de Leeuw
5172e6dddc add shuffleAlternateGroups #528 2019-07-08 11:35:25 -04:00
Josh de Leeuw
5cd95bcb7e fixes default iti bug (#632) 2019-07-08 10:26:28 -04:00
Josh de Leeuw
0a2f2cfaa6 fix all the broken test from changing image plugins style 2019-07-05 12:25:47 -04:00
Josh de Leeuw
02113068f9 delete temporary test 2019-07-05 11:50:49 -04:00
Josh de Leeuw
40f433651b bump jest v22 -> v24 2019-07-05 11:49:30 -04:00
Josh de Leeuw
b4bfb1852d fixes timeline vars in conditional functions #574 2019-07-05 11:43:40 -04:00
Josh de Leeuw
9a682bb260 fix semicolon bug 2019-07-05 11:20:59 -04:00
Josh de Leeuw
208ecf0365 some minor tweaks to survey-html-form plugin 2019-07-04 15:24:37 -04:00
Josh de Leeuw
7d01510a24
Merge pull request #602 from jansim/master
Added very simple alternative jspsych-survey-html-form plugin
2019-07-04 15:19:13 -04:00