Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
693 commits
Select commit Hold shift + click to select a range
1b2f1a2
fix the on_timeline_start issue
jodeleeuw Feb 10, 2021
145d3e5
remove preload params from jsPsych.init docs
becky-gilbert Feb 11, 2021
b4a174b
preload plugin changes: add getAutoPreloadList, remove autoPreload, p…
becky-gilbert Feb 11, 2021
e67c75c
update docs for preload plugin
becky-gilbert Feb 11, 2021
8238d9a
update docs with preload plugin changes
becky-gilbert Feb 11, 2021
fea41a7
remove references to preloading via jsPsych.init in experiment option…
becky-gilbert Feb 11, 2021
b5211be
tweak plugin descriptions to reflect switch to preload plugin
becky-gilbert Feb 11, 2021
f1ee569
switch to preloading via preload plugin in example files
becky-gilbert Feb 11, 2021
3694d75
initial commit for preload plugin docs
becky-gilbert Feb 11, 2021
4758d55
add preload plugin to docs structure
becky-gilbert Feb 11, 2021
301b4cb
tweak plugin parameter descriptions
becky-gilbert Feb 11, 2021
9729cd9
video tests just check that register preload is called, no longer tes…
becky-gilbert Feb 11, 2021
470c0d4
remove auto_preload: false in jsPsych.init from tests because preload…
becky-gilbert Feb 11, 2021
5331b5c
change numeric keyCodes to key strings, change valid keys to lowercas…
becky-gilbert Feb 11, 2021
aa588c2
add preload plugin to plugin overview page
becky-gilbert Feb 11, 2021
b112ec4
move repetitions parameter out of timeline_vars subheading
becky-gilbert Feb 11, 2021
f833a4a
add dynamic-params page, rename trials page as plugins, add content f…
becky-gilbert Feb 12, 2021
d9648d3
fix broken links in docs
becky-gilbert Feb 12, 2021
a70d016
Merge pull request #1508 from jspsych/docs-reorg
jodeleeuw Feb 12, 2021
2f7e5cc
some minor docs edits
jodeleeuw Feb 12, 2021
969484f
Merge branch 'master' into preload-docs
jodeleeuw Feb 12, 2021
dcca2a4
show list of plugins
jodeleeuw Feb 12, 2021
2fece8c
Merge pull request #1509 from jspsych/preload-docs
jodeleeuw Feb 12, 2021
a5fc7af
minor edits to preload docs
jodeleeuw Feb 12, 2021
446ebe5
change last heading text in dynamic params docs
becky-gilbert Feb 12, 2021
f845393
add case_sensitive jsPsych.init parameter to experiment-options docs …
becky-gilbert Feb 12, 2021
8c85707
tweak docs and examples for on_timeline_start and on_timeline_finish
becky-gilbert Feb 12, 2021
080b295
Merge branch 'master' into feature-timeline-events
becky-gilbert Feb 12, 2021
9442b0c
edit docs to clarify when on_timeline_start/finish run relative to co…
becky-gilbert Feb 12, 2021
ad8b309
Merge pull request #1512 from jspsych/feature-timeline-events
becky-gilbert Feb 12, 2021
94d72dd
merge changes from master and fix merge conflicts #670
becky-gilbert Feb 12, 2021
ca0c427
add a few more JSON and CSV conversion tests with plugins that uses o…
becky-gilbert Feb 12, 2021
0e5264f
remove redundant test
becky-gilbert Feb 13, 2021
5e58f6b
add response scoring test for serial-reaction-time
becky-gilbert Feb 13, 2021
5ea7003
remove unnecessary JSON.parse
becky-gilbert Feb 13, 2021
62db198
remove video tests (console error when plugin tries to pause video)
becky-gilbert Feb 13, 2021
6436230
add raw data comparison to values test
becky-gilbert Feb 13, 2021
7f5870d
update RT docs
jodeleeuw Feb 13, 2021
af8ce43
push tutorial updates
jodeleeuw Feb 13, 2021
8efc628
Merge pull request #1354 from klanderson/patch-1
jodeleeuw Feb 14, 2021
9992563
Comments with jqueryToVanilla lines of code, but without change it
GEJ1 Feb 14, 2021
a9bbc96
I remove: all the jQuery code, the mouse_adjustment option because us…
GEJ1 Feb 15, 2021
e5a8a77
Merge branch 'master' into feature-plugin-extensions
jodeleeuw Feb 16, 2021
5a1acb9
fix missing default value
jodeleeuw Feb 16, 2021
a69a355
step version in package.json
jodeleeuw Feb 16, 2021
0701d44
fix missing extensions module
jodeleeuw Feb 16, 2021
c70af69
add webgazer back in
jodeleeuw Feb 16, 2021
00a02e9
remove old comment header
jodeleeuw Feb 16, 2021
01ee2d0
add tests for extensions
jodeleeuw Feb 16, 2021
9a2c22a
change validation instructions in demo
jodeleeuw Feb 16, 2021
d0a9a7c
update webgazer image example
jodeleeuw Feb 16, 2021
599d1f5
Merge pull request #1516 from jspsych/feature-plugin-extensions
jodeleeuw Feb 16, 2021
2312550
Merge branch 'master' into feature-objects-arrays-in-data
becky-gilbert Feb 16, 2021
62db853
add tests for change from JSON strings to objects/arrays in data
becky-gilbert Feb 16, 2021
2d845a4
add test for instructions view_history data JSON conversion - #670
becky-gilbert Feb 17, 2021
538b9cb
remove comment re JSON encoding in data
becky-gilbert Feb 17, 2021
762ee56
update docs to reflect change from JSON strings to JS object/arrays i…
becky-gilbert Feb 17, 2021
47d2f40
Merge pull request #1523 from jspsych/feature-objects-arrays-in-data
becky-gilbert Feb 17, 2021
64a66b8
change responses to response in animation plugin #638
becky-gilbert Feb 17, 2021
b82eb9a
change button_pressed to response in audio-button-response plugin #638
becky-gilbert Feb 17, 2021
abf3e19
change key_press to response in audio-keyboard-response plugin #638
becky-gilbert Feb 17, 2021
e0f6f5d
remove quotes from object keys in trial data
becky-gilbert Feb 17, 2021
95099d1
add preload trial
becky-gilbert Feb 17, 2021
118aeff
change button_pressed to response in canvas-button-response plugin #638
becky-gilbert Feb 17, 2021
c9cbe39
change key_press to response in canvas-keyboard-response plugin #638
becky-gilbert Feb 17, 2021
64e71b5
remove quotes from data object keys
becky-gilbert Feb 17, 2021
f348944
change key_press to response in categorize-animation plugin #638
becky-gilbert Feb 17, 2021
7475bf8
change key_press to response in categorize-html plugin #638
becky-gilbert Feb 17, 2021
c812e8d
change key_press to response in categorize-image plugin #638
becky-gilbert Feb 17, 2021
b85ced4
change answers to response in cloze plugin #638
becky-gilbert Feb 17, 2021
fe5f14d
change button_pressed to response in html-button-response plugin #638
becky-gilbert Feb 17, 2021
3580b29
change key_press to response in html-keyboard-response plugin #638
becky-gilbert Feb 17, 2021
f0c91fb
remove quotes from data object keys
becky-gilbert Feb 17, 2021
c81d28a
change key_press to response in iat-html plugin #638
becky-gilbert Feb 17, 2021
79edaad
change key_press to response in iat-image plugin #638
becky-gilbert Feb 17, 2021
9c65ff1
change button_pressed to response in image-button-response plugin #638
becky-gilbert Feb 17, 2021
7c551ec
change key_press to response in image-keyboard-response plugin #638
becky-gilbert Feb 17, 2021
da5407a
remove quotes from data object keys
becky-gilbert Feb 17, 2021
efdd0ea
change left/right data properties to a response object with left/righ…
becky-gilbert Feb 17, 2021
bc33117
refactor
jodeleeuw Feb 17, 2021
fe34048
fix failing tests: change key_press to response
becky-gilbert Feb 17, 2021
a8a1ffa
change key_press to response in rdk plugin #638
becky-gilbert Feb 17, 2021
17d6640
remove quotes from data object keys
becky-gilbert Feb 17, 2021
477182d
remove quotes from data object keys
becky-gilbert Feb 17, 2021
6254aa1
change key_press to response and key_press_stim1 to response_stim1 in…
becky-gilbert Feb 17, 2021
a4bdfc8
change key_press to response and key_press_stim1 to response_stim1 in…
becky-gilbert Feb 17, 2021
d2f64ad
change key_press to response in serial-reaction-time plugin #638
becky-gilbert Feb 17, 2021
584e03f
fix failing tests: change key_press to response
becky-gilbert Feb 17, 2021
5ae6f61
change response_row and response_column to be a response array as [ro…
becky-gilbert Feb 17, 2021
56bf9c6
change responses to response in survey-html-form plugin #638
becky-gilbert Feb 17, 2021
967f546
change responses to response in survey-likert plugin #638
becky-gilbert Feb 17, 2021
19a6485
change responses to response in survey-multi-choice plugin #638
becky-gilbert Feb 17, 2021
db2a2dc
change responses to response in survey-multi-select plugin #638
becky-gilbert Feb 17, 2021
8a9e1a6
change responses to response in survey-text plugin #638
becky-gilbert Feb 17, 2021
0dd813a
change button_pressed to response in video-button-response plugin #638
becky-gilbert Feb 18, 2021
5b7884e
change key_press to response in video-keyboard-response plugin #638
becky-gilbert Feb 18, 2021
3f9a4e9
change key_press to response in visual-search-circle plugin #638
becky-gilbert Feb 18, 2021
5c354e3
change responses to response in vsl-animate-occlusion plugin #638
becky-gilbert Feb 18, 2021
85e3d6d
change button_pressed to response in example
becky-gilbert Feb 18, 2021
4fbfe94
change key_press to response in docs and examples
becky-gilbert Feb 18, 2021
49d1202
change responses to response in docs
becky-gilbert Feb 18, 2021
20e5960
Merge pull request #1529 from jspsych/standardize-response-data
becky-gilbert Feb 18, 2021
bfdcaf0
Merge pull request #1 from GEJ1/pr/pjkohler/1442
jodeleeuw Feb 18, 2021
631d15f
rename to startBlindSpotPhase
jodeleeuw Feb 18, 2021
ba1c830
remove unused variable
jodeleeuw Feb 18, 2021
6b97340
remove more unused variables
jodeleeuw Feb 18, 2021
2da7e6c
more refactoring
jodeleeuw Feb 18, 2021
dc3a8e4
fix extra ' +
jodeleeuw Feb 18, 2021
e2d66c4
Merge pull request #2 from GEJ1/GEJ1/master
jodeleeuw Feb 18, 2021
d475325
Documentation upgraded
GEJ1 Feb 18, 2021
3b260ed
implement case-sensitive/case-insensitive key comparison in jsPsych.p…
becky-gilbert Feb 18, 2021
0b95293
adds tests to pluginAPI.compareKeys for case sensitive or insensitive…
becky-gilbert Feb 18, 2021
2c28278
change direct key comparisons to use jsPsych.pluginAPI.compareKeys to…
becky-gilbert Feb 18, 2021
c72ee5f
Merge branch 'master' of https://github.com/jspsych/jsPsych
jodeleeuw Feb 18, 2021
c2a7b22
fixing type (mainly testing if I can merge into this?)
jodeleeuw Feb 18, 2021
1945652
some changes to docs
jodeleeuw Feb 18, 2021
3152d16
Merge branch 'master' into pr/pjkohler/1442
jodeleeuw Feb 18, 2021
d762cce
a few more docs updates
jodeleeuw Feb 18, 2021
08ab729
one more doc update, link to paper gh repo
jodeleeuw Feb 18, 2021
0bccde8
add compareKeys back into pluginAPI docs, update docs for compareKeys…
becky-gilbert Feb 18, 2021
4b1e05f
fix example #1538
jodeleeuw Feb 18, 2021
51017c5
Merge branch 'master' into feature-key-code-update
becky-gilbert Feb 18, 2021
bb7b3f0
Merge pull request #1228 from kurokida/freesort
becky-gilbert Feb 19, 2021
82cbd46
fix image position in example
becky-gilbert Feb 19, 2021
0812c52
minor refactoring and renaming for clarity
becky-gilbert Feb 19, 2021
1b4b9d7
switch getAudioBuffer to a Promise
jodeleeuw Feb 19, 2021
5cdca4f
update audio plugins to use new getAudioBuffer strategy
jodeleeuw Feb 19, 2021
f6b731a
update getAudioBuffer docs
jodeleeuw Feb 19, 2021
ff7db2f
Merge pull request #1543 from jspsych/fix-audio-preload
jodeleeuw Feb 19, 2021
ee3c5d1
add babySTEP to video tutorials
jodeleeuw Feb 19, 2021
d9008dd
fix broken links in webgazer plugin docs
jodeleeuw Feb 19, 2021
3df3d64
fix representation of key
jodeleeuw Feb 19, 2021
8f5c21d
SVGjs dependency added to documentation
GEJ1 Feb 19, 2021
d22bdf1
default to case-insensitive in compareKeys and getKeyboardResponse if…
becky-gilbert Feb 19, 2021
0800497
Merge branch 'master' into feature-key-code-update
becky-gilbert Feb 19, 2021
8325cbd
Merge pull request #1540 from jspsych/feature-key-code-update
becky-gilbert Feb 19, 2021
42e4908
Merge branch 'master' into freesort
becky-gilbert Feb 19, 2021
4c07502
remove quotes from keys in trial data (#670)
becky-gilbert Feb 19, 2021
d8b80fb
update docs with column_spread_factor parameter and mobile compatibility
becky-gilbert Feb 19, 2021
2f3e617
add freesort column_spread_factor parameter to control compression/ex…
becky-gilbert Feb 19, 2021
e117dba
remove unnecessary parentheses
becky-gilbert Feb 19, 2021
89ad34c
fix admonition format
jodeleeuw Feb 19, 2021
25ee508
add test stimulus at the end of the trial
jodeleeuw Feb 19, 2021
14a1891
fix distance calculation
jodeleeuw Feb 19, 2021
0ed04b4
break when incompatible parameters
jodeleeuw Feb 19, 2021
223152c
Merge pull request #1546 from jspsych/freesort
becky-gilbert Feb 19, 2021
93022f5
add virtual chinrest to list of plugins
jodeleeuw Feb 19, 2021
2e50b13
Merge pull request #1442 from GEJ1/master
jodeleeuw Feb 19, 2021
af05ce7
add more text and links to readme, fix old GH links
becky-gilbert Feb 19, 2021
9046888
minor edits to text, fix section header
becky-gilbert Feb 19, 2021
c033d31
add/fix preload trials in examples
becky-gilbert Feb 20, 2021
0820abd
remove unused plugin file
becky-gilbert Feb 20, 2021
91fc620
switch to css_classes parameter for stim font sizes
becky-gilbert Feb 20, 2021
0675af8
remove unused CSS
becky-gilbert Feb 20, 2021
4c9bd25
remove unused CSS
becky-gilbert Feb 20, 2021
546753e
fix bug that caused preload plugin to stop experiment when there are …
becky-gilbert Feb 20, 2021
ece12d9
Merge pull request #1553 from jspsych/readme-update
becky-gilbert Feb 20, 2021
c803bae
remove unused blindspot_start_prompt param, minor edits to text for c…
becky-gilbert Feb 20, 2021
da297ba
tweak text for clarity
becky-gilbert Feb 20, 2021
e0beed6
minor edits to text
becky-gilbert Feb 20, 2021
1c8774b
fix virtual chinrest when viewing_distance_report is 'none'
jodeleeuw Feb 20, 2021
3713be8
Merge branch 'master' into feature-params-in-data
jodeleeuw Feb 20, 2021
f2d2ced
fix test to expect non-stringified data
jodeleeuw Feb 20, 2021
17090f1
Merge branch 'master' of https://github.com/jspsych/jsPsych
becky-gilbert Feb 20, 2021
c6e09d7
remove numeric keyCodes from tests
becky-gilbert Feb 20, 2021
1015088
remove numeric keyCodes from tests (missed one)
becky-gilbert Feb 20, 2021
96bdace
add save-trial-parameters example #823
becky-gilbert Feb 20, 2021
4b5c90f
tweak example and comments
becky-gilbert Feb 20, 2021
8a3c6fa
add save_trial_parameters to docs, add sections/examples for save_tri…
becky-gilbert Feb 20, 2021
919524b
Merge pull request #1555 from jspsych/feature-params-in-data
becky-gilbert Feb 20, 2021
5b0dcfd
Merge pull request #1401 from pablobernabeu/patch-4
becky-gilbert Feb 21, 2021
5fbc74b
Merge pull request #672 from alexanderrobertson/patch-1
becky-gilbert Feb 21, 2021
a713c5a
fix placeholder pretty name
becky-gilbert Feb 21, 2021
19fc9e3
minor edit to text
becky-gilbert Feb 21, 2021
5e83cf0
remove duplicate plugin import
becky-gilbert Feb 21, 2021
5236b64
add missing links, fix markdown errors
becky-gilbert Feb 21, 2021
25d08f4
fix heading level
becky-gilbert Feb 21, 2021
bb10f7f
edit text, fix note formatting
becky-gilbert Feb 21, 2021
0b776ab
remove preloading from experiment options docs
becky-gilbert Feb 21, 2021
7239528
edit admonition
becky-gilbert Feb 21, 2021
65b6de4
edit code comments
becky-gilbert Feb 21, 2021
3a4ad0c
fix links
becky-gilbert Feb 21, 2021
f96fc0f
fix links
becky-gilbert Feb 21, 2021
7e8b838
fix link
becky-gilbert Feb 21, 2021
e8a326e
fix webgazer links in docs #1562
becky-gilbert Feb 24, 2021
4a59c86
fix more webgazer links in docs #1562
becky-gilbert Feb 24, 2021
d330c4a
separate camera init from experiment init; dot size options
jodeleeuw Mar 1, 2021
bbd5093
add note about permission to overview
jodeleeuw Mar 1, 2021
2a4a1fa
fix docs formatting for callbacks page
jodeleeuw Mar 1, 2021
bf9dec2
Merge branch 'master' of https://github.com/jspsych/jsPsych
jodeleeuw Mar 1, 2021
a5b9a91
add option to resetCalibration
jodeleeuw Mar 5, 2021
d5213ad
fix typo ()
jodeleeuw Mar 5, 2021
74da751
repair state.round_predictions
jodeleeuw Mar 5, 2021
98eed21
only round if not null
jodeleeuw Mar 5, 2021
3689f6d
init camera plugin should work even if used twice in experiment
jodeleeuw Mar 5, 2021
c6797fe
cache the prediction to avoid repetitive calls to expensive webgazer …
jodeleeuw Mar 15, 2021
4587211
create subscribe mechanism for gaze updates
jodeleeuw Mar 15, 2021
6468738
add docs about onGazeUpdate
jodeleeuw Mar 15, 2021
163f347
fix docs formatting issues, edit code blocks for consistency
becky-gilbert Mar 24, 2021
b21ff08
add note to image-* plugin docs about animated gifs and render_on_can…
becky-gilbert Mar 24, 2021
e672943
improve error messages when extension not loaded
jodeleeuw Mar 25, 2021
deb3dd6
allow jsPsych.pluginAPI.compareKeys to handle null arguments, add tes…
becky-gilbert Mar 25, 2021
595626d
fix typo and set default regression type
jodeleeuw Apr 1, 2021
9744547
fix function name
jodeleeuw Apr 1, 2021
3de308e
update DOM tracking for webgazer, shift to setInterval method for sam…
jodeleeuw Apr 7, 2021
221b7df
get threaded ridge regression working, update docs, example, improve …
jodeleeuw Apr 8, 2021
b4433ea
update init plugin to center camera
jodeleeuw Apr 9, 2021
63e30ae
save validation point locations by default
jodeleeuw Apr 9, 2021
346726e
save x,y coords, not just dx/dy
jodeleeuw Apr 9, 2021
3ce8aea
improve timing in webgazer and utilize in jspsych
jodeleeuw Apr 9, 2021
a991b7b
move webgazer files
jodeleeuw Apr 9, 2021
008897d
revert back to ridge + kalman
jodeleeuw Apr 9, 2021
4bcde4a
fix real-time display during validation
jodeleeuw Apr 9, 2021
8aaceab
update docs
jodeleeuw Apr 9, 2021
cec803c
Merge branch 'master' into feature-eye-tracking-improvements
jodeleeuw Apr 9, 2021
739b86e
Merge pull request #1586 from jspsych/feature-eye-tracking-improvements
jodeleeuw Apr 9, 2021
f0cd0aa
fix missing link
jodeleeuw Apr 9, 2021
94a094f
fix minimum_valid_rt when the web audio timing method is used in getK…
becky-gilbert Apr 9, 2021
fb2ad41
move WebAudio keyboard RT seconds-to-ms conversion from audio-keyboar…
becky-gilbert Apr 9, 2021
ab7ea84
add timing tests to test folder
jodeleeuw Apr 21, 2021
579e112
Fixed plugin documentation title
moltaire Apr 30, 2021
21562d9
Update parameter name in experiment-options.md
AndrianV May 12, 2021
38286b1
Merge pull request #1820 from AndrianV/patch-1
becky-gilbert May 13, 2021
7681e5c
Merge pull request #1781 from moltaire/fix-validate-doc-title
becky-gilbert May 18, 2021
dd9424c
update version number from 6.3.0 to 6.3.1 - fixes #1835
becky-gilbert May 18, 2021
b528c46
Merge branch 'master' of https://github.com/jspsych/jsPsych
becky-gilbert May 18, 2021
316aa67
fix error in docs example (missing comma) - fixes #1840
becky-gilbert May 19, 2021
e7eb6a6
fix typo - fixes #1840
becky-gilbert May 20, 2021
e917fab
fix typo
becky-gilbert May 20, 2021
85b1dc6
Create examples with simulate folder
nikbpetrov Jun 7, 2021
59d2843
_Temp save
nikbpetrov Jun 7, 2021
a550da1
Html-keyboard-response seems to work
nikbpetrov Jun 7, 2021
b3a8326
Merge pull request #1 from nikbpetrov/html-keyboard-response
nikbpetrov Jun 7, 2021
8dc1959
jspsych-image-keyboard-repsonse simulate working
nikbpetrov Jun 7, 2021
3dbcd94
Demo flanker working ++ updates to keyboard-response simulate methods…
nikbpetrov Jun 7, 2021
012e9f9
html-button-response working
nikbpetrov Jun 7, 2021
ac3a386
Working: html-slider, image-sldier, instructions, image-button
nikbpetrov Jun 7, 2021
9d01f20
Same-different-html & same-different-image default values fix
nikbpetrov Jun 8, 2021
1436132
Merge pull request #1880 from nikbpetrov/same-different-default-value…
becky-gilbert Jun 10, 2021
ae332b3
added contributor nikbpetrov
becky-gilbert Jun 10, 2021
4bc8d51
add jsPsych Builder reference to docs
bjoluc Jun 20, 2021
7b16a1d
fix trial_ends_after_video when video stop time is set - fixes #1533
becky-gilbert Jun 22, 2021
3d678e0
add a test for #1728
jodeleeuw Jun 28, 2021
1c9ca30
return 0 when no gazeData (possibly fixes #1724)
jodeleeuw Jun 28, 2021
0ab7239
Merge pull request #1912 from bjoluc/docs
becky-gilbert Jul 1, 2021
d5efdb3
minor tweaks to jsPsych-builder text
becky-gilbert Jul 1, 2021
3221cfa
tweak jsPsych Builder info box text #1912
becky-gilbert Jul 2, 2021
43397d2
Fixing typo in the `maintain_aspect_ratio` parameter.
nikbpetrov Jul 7, 2021
db8bab4
Merge pull request #1981 from nikbpetrov/patch-1
becky-gilbert Jul 7, 2021
528d9ad
update mkdocs.yml in prep for versioned docs
jodeleeuw Aug 19, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions .github/workflows/jest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions

name: Jest Test

on: [ push, pull_request ]

jobs:
build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: '14.x'
- run: npm ci
- run: npm test
3 changes: 0 additions & 3 deletions .travis.yml

This file was deleted.

27 changes: 21 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,26 +1,41 @@
![logo](http://www.jspsych.org/img/jspsych-logo.jpg)

jsPsych is a JavaScript library for creating behavioral experiments that run in a web browser. jsPsych provides a framework for defining experiments using a set of flexible plugins that create different kinds of tasks a subject could complete during an experiment. By assembling these different plugins together it is possible to create many different types of experiments.
jsPsych is a JavaScript library for creating behavioral experiments that run in a web browser. It provides a framework for defining experiments using a set of flexible plugins that create different kinds of events, and collect different kinds of data. By assembling these plugins together, it is possible to create a wide range of online experiments.

jsPsych experiments are created using the languages of the Web: HTML, CSS, and JavaScript. JavaScript is the programming language used by web browsers. It provides the most control and flexibility for creating web-based experiments, and allows for easy integration with other JavaScript libraries and server-side tools. Don't have JavaScript experience? Don't worry! jsPsych was designed to make creating online experiments as easy as possible for people without web development experience.

## What can I do with jsPsych?

jsPsych comes with a number of plugins that you can use create tasks and collect data. Some plugins do general things, like present a stimulus (text, image, audio, video) and record a key press or button response along with a response time. Other plugins do more specific things, like show a set of instructions pages, run a drag-and-drop image sorting task, present a Random-Dot Kinematogram, or calibrate the WebGazer eye-tracking extension. See the documentation website for a [list of all plugins](https://www.jspsych.org/plugins/list-of-plugins/), and to see what each plugin can do.

Often people can create their experiment by combining these plugins together. But if that's not possible for your experiment, you can also modify a plugin file or [create your own plugin](https://www.jspsych.org/overview/plugins/#creating-a-new-plugin). This gives you the flexibility to do exactly what you want, while still taking advantage of jsPsych's general experiment-building framework.

Getting started
---------------

New to jsPsych? A good place to start is the basic [Hello World tutorial](https://www.jspsych.org/tutorials/hello-world/) on the jsPsych website. The [Reaction Time Task tutorial](https://www.jspsych.org/tutorials/rt-task/) is a great next step, since it covers many core topics and features.

There are also a number of [video tutorials](https://www.jspsych.org/tutorials/video-tutorials), including [Session 1 of the Moving Online Workshop](https://www.youtube.com/watch?v=BuhfsIFRFe8), which provides an overview of jsPsych suitable for brand new users.

Examples
----------

Several example experiments and plugin demonstrations are available in the `/examples` folder.
Several example experiments and plugin demonstrations are available in the `/examples` folder. After you've downloaded the [latest release](https://github.com/jspsych/jsPsych/releases), double-click on an example HTML file to run it in your web browser, and open it with a programming-friendly text editor to see how it works.

Documentation
-------------

Documentation is available at [docs.jspsych.org](http://docs.jspsych.org).
Documentation is available at [jspsych.org](https://www.jspsych.org/).

Need help?
----------

For questions about using the library, please use the [Discussions forum](https://github.com/jspsych/jsPsych/discussions).
For questions about using the library, please use the GitHub [Discussions forum](https://github.com/jspsych/jsPsych/discussions).

Contributing
------------

Contributions to the code are welcome. Please use the [Issue tracker system](https://github.com/jodeleeuw/jsPsych/issues) to report bugs or discuss suggestions for new features and improvements. If you would like to contribute code, [submit a Pull request](https://help.github.com/articles/using-pull-requests).
Contributions to the code are welcome. Please use the [Issue tracker system](https://github.com/jspsych/jsPsych/issues) to report bugs or discuss suggestions for new features and improvements. If you would like to contribute code, [submit a Pull request](https://help.github.com/articles/using-pull-requests). See the [Contributing to jsPsych](https://www.jspsych.org/about/contributing/) documentation page for more information.

Citation
--------
Expand All @@ -45,4 +60,4 @@ Credits

jsPsych was created by Josh de Leeuw ([@jodeleeuw](https://github.com/jodeleeuw)).

There have been many [contributors](https://github.com/jodeleeuw/jsPsych/blob/master/contributors.md) to the library. Thank you!
We're grateful for the many [contributors](https://github.com/jspsych/jsPsych/blob/master/contributors.md) to the library, and for the generous support from a [Mozilla Open Source Support (MOSS)](https://www.mozilla.org/en-US/moss/) award. Thank you!
45 changes: 44 additions & 1 deletion contributors.md
Original file line number Diff line number Diff line change
@@ -1,19 +1,62 @@
The following people have contributed to the development of jsPsych by writing code, documentation, and/or suggesting improvements (in alphabetical order):
* alisdt - https://github.com/alisdt
* Antonia - https://github.com/Ahoidal
* aucuparia - https://github.com/aucuparia
* Xiaolu Bai - https://github.com/lbai001
* bjoluc - https://github.com/bjoluc
* Christian Brickhouse - https://github.com/chrisbrickhouse
* Teon L Brooks - https://github.com/teonbrooks
* Eamon Caddigan - https://github.com/eamoncaddigan
* Jason Carpenter
* Steve Chao - https://github.com/stchao
* Krisitn Diep - https://github.com/kristiyip
* Zhanwen "Phil" Chen - https://github.com/zhanwenchen
* cthorey - https://github.com/cthorey
* Guy Davidson - https://github.com/guydav
* Kristin Diep - https://github.com/kristiyip
* Ari Dyckovsky - https://github.com/aridyckovsky
* Etienne Gaudrain - https://github.com/egaudrain
* Jon Gauthier - https://github.com/hans
* Robert Gibboni - https://github.com/r-b-g-b
* Becky Gilbert - https://github.com/becky-gilbert
* Mark Gorenstein - https://github.com/mgorenstein
* Rui Han - https://github.com/hrcn
* Andy Heusser - https://github.com/andrewheusser
* Angus Hughes - https://github.com/awhug
* Gustavo Juantorena - https://github.com/GEJ1
* Chris Jungerius - https://github.com/cjungerius
* George Kachergis - https://github.com/kachergis
* Yul Kang - https://github.com/yulkang
* Spencer King - https://github.com/spencerking
* Jana Klaus - https://github.com/janakl4us
* Arnold Kochari - https://github.com/akochari
* Peter Jes Kohler - https://github.com/pjkohler
* kupiqu - https://github.com/kupiqu
* Daiichiro Kuroki - https://github.com/kurokida
* Jonas Lambers
* madebyafox - https://github.com/madebyafox
* Shane Martin - https://github.com/shamrt
* Vijay Marupudi - https://github.com/vijaymarupudi
* Adrian Oesch - https://github.com/adrianoesch
* Benjamin Ooghe-Tabanou - https://github.com/boogheta
* Nikolay B Petrov - https://github.com/nikbpetrov
* Dillon Plunkett - https://github.com/dillonplunkett
* Junyan Qi - https://github.com/GavinQ1
* Sivananda Rajananda - https://github.com/vrsivananda
* Dan Rivas - https://github.com/rivasd
* Werner Sævland - https://github.com/wernersa
* Marian Sauter - https://github.com/mariansauter
* Ellen Shapiro - https://github.com/designatednerd
* Jan Simson - https://github.com/jansim
* Hannah Small - https://github.com/hesmall
* sprengholz - https://github.com/sprengholz
* Dominik Strohmeier - https://github.com/onkeltom
* Nabeel Sulieman - https://github.com/nabsul
* Hitoshi Tominaga - https://github.com/tbrotherm
* Tim Vergenz - https://github.com/vergenzt
* Matteo Visconti di Oleggio Castello - https://github.com/mvdoc
* Ilya Vorontsov - https://github.com/VorontsovIE
* Wolfgang Walther - https://github.com/wolfgangwalther
* Erik Weitnauer - https://github.com/eweitnauer
* Rob Wilkinson - https://github.com/RobAWilkinson
* Andy Woods - https://github.com/andytwoods
* Reto Wyss - https://github.com/retowyss
85 changes: 83 additions & 2 deletions css/jspsych.css
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,17 @@
border-color: #ccc;
}

.jspsych-btn:hover {
/* only apply the hover style on devices with a mouse/pointer that can hover - issue #977 */
@media (hover: hover) {
.jspsych-btn:hover {
background-color: #ddd;
border-color: #aaa;
}
}

.jspsych-btn:active {
background-color: #ddd;
border-color: #aaa;
border-color:#000000;
}

.jspsych-btn:disabled {
Expand All @@ -88,6 +96,79 @@
cursor: not-allowed;
}

/* custom style for input[type="range] (slider) to improve alignment between positions and labels */

.jspsych-slider {
appearance: none;
-webkit-appearance: none;
-moz-appearance: none;
width: 100%;
background: transparent;
}
.jspsych-slider:focus {
outline: none;
}
/* track */
.jspsych-slider::-webkit-slider-runnable-track {
appearance: none;
-webkit-appearance: none;
width: 100%;
height: 8px;
cursor: pointer;
background: #eee;
box-shadow: 0px 0px 0px #000000, 0px 0px 0px #0d0d0d;
border-radius: 2px;
border: 1px solid #aaa;
}
.jspsych-slider::-moz-range-track {
appearance: none;
width: 100%;
height: 8px;
cursor: pointer;
background: #eee;
box-shadow: 0px 0px 0px #000000, 0px 0px 0px #0d0d0d;
border-radius: 2px;
border: 1px solid #aaa;
}
.jspsych-slider::-ms-track {
appearance: none;
width: 99%;
height: 14px;
cursor: pointer;
background: #eee;
box-shadow: 0px 0px 0px #000000, 0px 0px 0px #0d0d0d;
border-radius: 2px;
border: 1px solid #aaa;
}
/* thumb */
.jspsych-slider::-webkit-slider-thumb {
border: 1px solid #666;
height: 24px;
width: 15px;
border-radius: 5px;
background: #ffffff;
cursor: pointer;
-webkit-appearance: none;
margin-top: -9px;
}
.jspsych-slider::-moz-range-thumb {
border: 1px solid #666;
height: 24px;
width: 15px;
border-radius: 5px;
background: #ffffff;
cursor: pointer;
}
.jspsych-slider::-ms-thumb {
border: 1px solid #666;
height: 20px;
width: 15px;
border-radius: 5px;
background: #ffffff;
cursor: pointer;
margin-top: -2px;
}

/* jsPsych progress bar */

#jspsych-progressbar-container {
Expand Down
14 changes: 7 additions & 7 deletions docs/about/contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,37 +6,37 @@ Contributions to jsPsych are welcome! All of the code is managed through the Git

#### Discuss the proposed change

If you have a specific modification in mind, open a [new issue via GitHub](https://github.com/jspsych/jsPsych/issues/new). Describe the proposed change and what problem it solves. If you are interested in adding a new plugin to the library, it helps if you post an example of the plugin in use and describe the different use cases of the plugin.
If you have a specific modification in mind -- for instance, a new feature or bug fix -- please open a [new issue via GitHub](https://github.com/jspsych/jsPsych/issues/new). Describe the proposed change and what functionality it adds to the library and/or what problem it solves. If you are interested in adding a new plugin to the library, it helps if you post an example of the plugin in use and describe the different use cases of the plugin (for more guidance, see the "Writing new plugins" section below).

If the modification you are interested in working on is not quite at the point where you have a specific modification to the code base in mind, then it might be helpful to discuss the issue first on the [jsPsych Google group](https://groups.google.com/forum/#!forum/jspsych).
If you are thinking about proposing a change but not at the point where you have a specific modification to the code base in mind, then it might be helpful to discuss the issue first on [GitHub Discussions](https://github.com/jspsych/jsPsych/discussions). Discussion posts can be useful for sharing code and getting feedback before requesting a change to the library.

#### Fork the library and modify the code

To make changes to the code, you should fork the jsPsych library via GitHub. Changes should be targeted at the `master` branch.
To make changes to the code, you should fork the jsPsych library via GitHub and make modifications on your fork. You may find it useful to make modifications on branches, so that you can keep your proposed changes separate from any other unrelated changes you might want to make on your fork.

#### Submit a pull request

Once your modification is complete, submit a pull request to merge your changes into the main repository. Pull requests will be reviewed by the project owner.
Once your modification is complete, submit a pull request to merge your changes into the `master` branch of the main repository. Pull requests will be reviewed by the project team.

## Writing new plugins

New plugins are welcome additions to the library. Plugins can be distributed independently of the main library or added to the GitHub repository via a pull request and the process described above. If you want to add your plugin to the main library then there are a few guidelines to follow.
New plugins are welcome additions to the library. Plugins can be distributed independently of the main library or added to the GitHub repository via a pull request, following the process described above. If you want to add your plugin to the main library then there are a few guidelines to follow.

#### Make the plugin as general as possible

Plugins are most useful when they are flexible. Avoid fixing the value of parameters that could be variables. This is especially important for any text that displays on the screen in order to facilitate use in multiple languages.

#### Use the jsPsych.pluginAPI module when appropriate

The pluginAPI module contains functions relevant to plugin development. Avoid duplicating the functions defined within the library in your plugin. If you have a suggestion for improving pluginAPI methods, then go ahead and submit a pull request to modify it directly.
The [pluginAPI module](../core_library/jspsych-pluginAPI.md) contains functions relevant to plugin development. Avoid duplicating the functions defined within the library in your plugin, and instead use the pluginAPI whenever possible. If you have a suggestion for improving pluginAPI methods, then go ahead and submit a pull request to modify it directly.

#### Document your plugin

When submitting a pull request to add your plugin, make sure to include a documentation page in the same style as the other docs pages. Documentation files exist in the `docs` directory.

#### Include an example file

Write a short example file to include in the `examples` directory. This should demonstrate the basic use cases of the plugin as clearly as possible.
Write a short example HTML file to include in the `examples` directory. This should demonstrate the basic use cases of the plugin as clearly as possible.

#### Include a testing file

Expand Down
4 changes: 2 additions & 2 deletions docs/about/support.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Support

For questions about jsPsych the preferred method of support is the [jsPsych Google group](https://groups.google.com/forum/#!forum/jspsych). Questions are most likely to be answered when they include a reproducible example of the problem. If you can make your code available online and link to the experiment, that will make the question easier to answer.
For questions about jsPsych the preferred method of support is via [GitHub Discussions](https://github.com/jspsych/jsPsych/discussions). Questions are most likely to be answered when they include a reproducible example of the problem. If you can make your code available online and link to the experiment, that will make the question easier to answer.

If you have identified a problem with jsPsych, such as a bug in the code or an error in the documentation, please [open a new issue](https://github.com/jodeleeuw/jsPsych/issues) on the GitHub site.
If you have identified a problem with jsPsych, such as a bug in the code or an error in the documentation, please [open a new issue](https://github.com/jspsych/jsPsych/issues/new) on the GitHub site. And if you have a suggestion for fixing the problem, feel free to propose a modification by following the steps in the [Contribuitng to jsPsych](contributing.md) page.

Inquiries for paid consultation to develop experiments using jsPsych or to create new custom jsPsych features can be sent to [josh.deleeuw@gmail.com](mailto:josh.deleeuw@gmail.com).
Loading