andy
cb1071df43
min RT feature, working
2018-07-02 14:02:12 +01:00
andy
9c6e5f292c
min RT feature
2018-07-01 20:29:31 +01:00
andy
07cd15dbca
preload video + non-preloaded video ability
2018-06-30 20:45:30 +01:00
Josh de Leeuw
2970c94559
fixes #539
2018-06-25 21:33:39 -04:00
Josh de Leeuw
0f92127a49
fixes #541 by moving current_trial_finished to better location
2018-06-25 15:33:29 -04:00
andy
22bd4961d4
working preloaded video
2018-05-31 09:56:42 +01:00
andy
5a6b20f695
untested preload video mod
2018-05-30 20:55:21 +01:00
Josh de Leeuw
442fe05ed9
fixes chrome 66+ audio play #518
2018-05-14 22:24:19 -04:00
Josh de Leeuw
b4a0ce33e6
fix docs, make callback optional #513
2018-04-17 10:43:37 -04:00
Josh de Leeuw
2f568aebdb
patch a bug with multiple init calls and webaudio context
2018-03-20 12:27:42 -04:00
Josh de Leeuw
3fb7ef6b6d
fix loadFail timeout bug
2018-02-18 16:53:31 -05:00
Josh de Leeuw
2c172a1caf
add a small delay between preload reattempts, documentation #503
2018-02-18 16:24:04 -05:00
Josh de Leeuw
f3d5a5043d
make webaudio optional #508
2018-02-18 16:19:09 -05:00
Josh de Leeuw
7fa09da61f
max_preload_attempts #503
2018-02-10 15:12:17 -05:00
Josh de Leeuw
c4a7f090d8
starts on #503
2018-02-10 15:10:33 -05:00
Josh de Leeuw
49aba8ee08
fix bug with null values
2018-01-11 10:11:13 -05:00
Josh de Leeuw
f7966aeaf1
implements #489
2018-01-03 13:57:20 -05:00
Josh de Leeuw
051c0839bf
add on_load function #486
2017-12-28 16:06:31 -05:00
Josh de Leeuw
906f43376b
implements on_start #483
2017-12-08 21:13:38 -05:00
Josh de Leeuw
fcc8878e37
add complex parameter type
2017-07-26 15:17:12 -04:00
Josh de Leeuw
c08d2f1df2
add polyfill for Array.isArray
2017-07-22 12:35:02 -04:00
Josh de Leeuw
12dcd30ad9
better deepCopy util
2017-07-21 22:11:19 -04:00
Josh de Leeuw
d21dea8b9a
add universalPluginParameters
2017-07-19 13:13:42 -04:00
Josh de Leeuw
624c8d6f8b
use default values when param=null
2017-07-14 23:31:47 -04:00
Josh de Leeuw
09ccb196bf
HMTL -> HTML
2017-07-14 10:17:54 -04:00
Josh de Leeuw
805e74e3b6
make keycodes case insensitive
2017-07-13 11:25:11 -04:00
Josh de Leeuw
691f1c076d
remove unnecessary console.log
2017-07-12 14:33:33 -04:00
Josh de Leeuw
5d888912f9
starts #432
2017-07-12 09:58:27 -04:00
Josh de Leeuw
f36b85092d
remove trial level display element option
2017-07-12 09:37:25 -04:00
Josh de Leeuw
6970926460
fix platform fn.toString bug
2017-07-11 22:35:28 -04:00
Josh de Leeuw
756c88a07f
better timing parameter names #425
2017-07-10 14:00:24 -04:00
Josh de Leeuw
8f19625c6b
testing for new method of evaluation function params #426
2017-07-10 10:55:00 -04:00
Josh de Leeuw
7a6b72f88d
more testing repairs
2017-07-09 23:52:42 -04:00
Josh de Leeuw
d3e06db3a4
fix bug to avoid checking type parameter
2017-07-09 23:32:01 -04:00
Josh de Leeuw
31e1fc190b
removing pluginAPI.evaluateFunctionParameters #426
2017-07-09 23:05:04 -04:00
Josh de Leeuw
c372efe1d1
locate evaluation of function parameters inside jsPsych core #426
2017-07-09 21:15:59 -04:00
Josh de Leeuw
d7282a228e
bug fix for reset GUI
2017-07-06 15:26:46 -04:00
Josh de Leeuw
e0c14ca403
better reset for GUI
2017-07-06 15:26:45 -04:00
KristinDiep
1d0742e676
split iat plugin
2017-07-06 13:59:09 -04:00
Josh de Leeuw
caca99335d
clarify parameter type #423
2017-07-06 09:54:05 -04:00
Josh de Leeuw
2a39ad4a2a
split sample method; add weights option for timeline variables sampling
2017-07-05 16:55:35 -04:00
Josh de Leeuw
acce4407e5
fixes #406
2017-06-25 22:50:05 -04:00
Josh de Leeuw
5ec449c0f6
bug fix for reset GUI
2017-06-21 12:11:32 -04:00
Josh de Leeuw
08a3166cc6
better reset for GUI
2017-06-21 12:04:13 -04:00
Josh de Leeuw
e4cd1bb151
don't add class name redundantly
2017-06-21 11:43:40 -04:00
Josh de Leeuw
c739dfcb3b
add new sampling option, fixes #398
2017-06-20 11:40:05 -04:00
Josh de Leeuw
9810dab604
fixes #387 with proper focus
2017-06-19 14:46:17 -04:00
Josh de Leeuw
91c67f8688
add auto_update_progress_bar property to jsPsych.init
2017-06-10 21:31:59 -04:00
Josh de Leeuw
4184913b1e
fixes #387
2017-06-07 22:44:33 -04:00
Josh de Leeuw
ac4bb0a818
cap range of setProgressBar #325
2017-06-01 15:47:04 -04:00
Josh de Leeuw
b09384929f
add setProgressBar #325
2017-06-01 15:37:43 -04:00
Josh de Leeuw
f6adf2f8af
adjust #384 style
2017-05-30 10:01:36 -04:00
Josh de Leeuw
934f394de0
first pass at #384
2017-05-27 18:09:28 -04:00
Josh de Leeuw
d287f7a4d3
fixes #343
2017-05-25 11:17:56 -04:00
Josh de Leeuw
6b53fced9d
reset variables when timeline loops #343
2017-05-25 10:51:08 -04:00
Josh de Leeuw
a0ecd6dc23
only preload unique files; fixes #377
2017-05-25 10:40:59 -04:00
Josh de Leeuw
41f6f4d8ed
fix .unique bug
2017-05-25 10:38:55 -04:00
Josh de Leeuw
25b4f28f40
move utility functions to .utils module for better testing
2017-05-25 10:33:23 -04:00
Josh de Leeuw
6dc62aec0e
remove fullscreen from jsPsych.init #380
2017-05-24 22:18:16 -04:00
Josh de Leeuw
5ad4e4c9a4
implement #349
2017-03-19 16:38:59 -04:00
Josh de Leeuw
f941731a5b
#334 add data collection method .uniqueNames
2017-02-04 16:05:22 -05:00
Josh de Leeuw
065fd8d4b0
change jsPsych.data.getData() to jsPsych.data.get()
2017-02-02 16:47:35 -05:00
Josh de Leeuw
12043f2ffc
Merge pull request #289 from rivasd/parallelport
...
Changes for supporting parallel port triggers with our Chrome extension
2017-01-18 12:55:52 -05:00
Josh de Leeuw
ba356b6588
change execution order of finishExperiment
2017-01-17 15:07:23 -05:00
Rob Wilkinson
15016febc6
cleaned up console logs
2017-01-13 17:49:27 -08:00
Xiaolu Bai
467dcb0460
bugfix_multiple_choice_module
2017-01-13 01:57:04 -08:00
Josh de Leeuw
f40214066b
pretty print json; fix #318 ; adjust timelineVaribale to return function by default
2017-01-12 14:43:38 -05:00
Josh de Leeuw
accc619352
trial finish events get passed a modifiable copy of the raw data object
2017-01-09 11:30:23 -05:00
Josh de Leeuw
4fc383cab1
manual preloading from init method
2017-01-04 15:25:01 -05:00
Josh de Leeuw
354ff1dc94
add DataCollection.first and .last
2016-12-31 14:39:53 -05:00
Josh de Leeuw
e821ae6bb0
add DataColumn.all
2016-12-31 14:19:51 -05:00
Josh de Leeuw
7a966c2248
add ConvertKeyCodeToKeyCharacter, variance, min, max
2016-12-22 17:00:48 -05:00
Josh de Leeuw
658b1db363
implement pluginapi tests
2016-12-20 13:21:13 -05:00
Josh de Leeuw
72deca2348
centralize keyboard listeners for better held_key detection
2016-12-20 11:28:24 -05:00
Josh de Leeuw
f7b917adaa
replace .which with .keyCode
2016-12-20 10:38:20 -05:00
Josh de Leeuw
2d46484365
fixes audio load bug #308
2016-12-20 09:24:53 -05:00
Josh de Leeuw
db8730d4b3
testing and fixing data module
2016-12-18 11:31:35 -05:00
Josh de Leeuw
347c7d0a66
fix DataCollection bugs
2016-12-17 15:40:19 -05:00
Josh de Leeuw
979ee70d58
fix addToAll, test it
2016-12-16 14:00:15 -05:00
Josh de Leeuw
66fea32f5b
don't reset data properties
2016-12-16 13:33:19 -05:00
Josh de Leeuw
099c1da963
remove ref to ignored data
2016-12-16 11:26:00 -05:00
Josh de Leeuw
05b255dc5c
reset data storage if .init() is called.
2016-12-16 11:10:48 -05:00
Josh de Leeuw
d7d6d5b971
test addProperties
2016-12-16 11:05:47 -05:00
Josh de Leeuw
f125065451
fix ^ -> Math.pow()
2016-12-15 22:18:22 -05:00
Josh de Leeuw
788ea0833b
fix sqrt()
2016-12-15 22:08:43 -05:00
Josh de Leeuw
30a7401e92
missing .length
2016-12-15 21:59:29 -05:00
Josh de Leeuw
c8ff0ad884
bug
2016-12-15 21:56:56 -05:00
Josh de Leeuw
c1fbe542df
datacollection tests
2016-12-15 21:53:52 -05:00
Josh de Leeuw
7806cd14e6
More changes to how data is handled...
2016-12-15 21:38:22 -05:00
Josh de Leeuw
22cc5bf878
DataCollection and DataColumn, breaks code for now.
2016-12-15 15:13:18 -05:00
Josh de Leeuw
41cd3e87a7
don't remove DOM element when adding progress bar!
2016-12-15 11:29:23 -05:00
Josh de Leeuw
4e95436a58
changes default_iti #312
2016-12-14 13:53:39 -05:00
Josh de Leeuw
1c60540396
html5 fallback for webaudio #311
2016-12-14 12:16:07 -05:00
Josh de Leeuw
df49035118
first jest test runs!
2016-12-09 21:25:56 -05:00
Josh de Leeuw
7b099b39ee
demo rt experiment seems to work...
2016-11-25 15:22:16 -05:00
Josh de Leeuw
2f6db7a603
no refs to jquery in main library
2016-11-24 01:12:39 -05:00
Josh de Leeuw
920e4fd5e0
removing some $
2016-11-23 12:42:29 -05:00
Josh de Leeuw
5048bca4cb
starting to implement.
2016-11-18 15:16:42 -05:00
Daniel Rivas
af133eb79f
Adds DOM trace without jQuery
2016-09-08 11:58:48 -04:00
Daniel Rivas
5d00e36111
Preparing Chrome extension support for hardware
...
- init function now declares a "jspsych" attribute on the <html> element
so that our Chrome Extension can tell when jsPsych is loaded on a page
- new method jsPsych.pluginAPI.hardware that dispatches an event caught
by our extension. allows sending triggers to the parallel port!
2016-09-07 18:17:29 -04:00
Josh de Leeuw
a2e9f8674c
progress bar fixes
2016-08-16 11:16:14 -04:00
Josh de Leeuw
0bdfd39702
fixes #285
2016-08-15 23:58:13 -04:00
Josh de Leeuw
17f0aa6fa0
fixes #284
2016-08-15 23:48:02 -04:00
Josh de Leeuw
bb7009e374
fix indexing bug
2016-08-15 18:34:47 -04:00
Josh de Leeuw
3cfde8a504
remove data.getTrialsOfType and data.getDataByTrialIndex
2016-08-15 18:02:43 -04:00
Josh de Leeuw
e46b84941f
begin implementing data filters #283
2016-08-15 17:17:43 -04:00
Josh de Leeuw
0128e74540
error message if display_element does not exist
2016-08-15 16:29:30 -04:00
Josh de Leeuw
2efa5fefeb
CSS rules for vertical centering
2016-08-12 16:54:15 -04:00
Josh de Leeuw
606600598c
implements features for #281
2016-08-10 16:58:30 -04:00
Josh de Leeuw
5fde5c27dd
support exclusions for WebAudio API #253
2016-08-10 16:13:05 -04:00
Josh de Leeuw
237572c3ea
first implementation of automatic exclusions #253 . implements min_width and min_height.
2016-08-10 15:22:27 -04:00
Josh de Leeuw
31ae9b0e6a
implements #280
2016-08-10 14:23:50 -04:00
Josh de Leeuw
09e50d9f51
convert plugins to use centralized setTimeout handler #272
2016-08-10 14:08:54 -04:00
LOG67
b4d537b3be
Fixed the missing comma which prevented jsPsych from working
2016-07-27 11:44:09 -04:00
Josh de Leeuw
d269f11c5c
add on_interaction_data_update event to init settings
2016-07-22 16:12:33 -04:00
Josh de Leeuw
d4d8220b87
jsPsych.progress returns sensible results before experiment runs
2016-07-01 09:24:36 -04:00
Josh de Leeuw
72511a9c9c
initialize interaction listeners after startup
2016-07-01 09:22:28 -04:00
Josh de Leeuw
3b910469d3
standardize ALL_KEYS and NO_KEYS ( #252 )
2016-06-30 13:20:34 -04:00
Josh de Leeuw
6d8b877987
fixes #231
2016-06-30 12:43:15 -04:00
Josh de Leeuw
bc7f0f0f1a
fixes #254
2016-06-30 10:22:36 -04:00
Josh de Leeuw
472e0696d5
add fullscreenenter and fullscreenexit detection ( #273 )
2016-06-29 23:10:10 -04:00
Josh de Leeuw
c863a3b03c
Initial implementation of focus recording ( #273 )
2016-06-29 22:54:12 -04:00
Josh de Leeuw
01f7782da6
Implements a solution for #228
2016-06-29 17:34:59 -04:00
Josh de Leeuw
a2e458615a
implements data.ignore method ( #264 )
2016-06-27 22:55:35 -04:00
Josh de Leeuw
a951dd3e0b
implements shared AudioContext ( #271 )
2016-06-27 13:29:43 -04:00
Josh de Leeuw
52e673fb1b
more plugin.info ( #270 )
2016-06-27 13:21:51 -04:00
Josh de Leeuw
8b2d12a79c
further work on plugin.info ( #270 )
2016-06-26 23:45:17 -04:00
Josh de Leeuw
73c77214d9
update param types
2016-06-24 09:51:56 -04:00
Josh de Leeuw
0f71617963
start implementing plugin.info methods ( #270 )
2016-06-24 09:46:30 -04:00
Josh de Leeuw
9b2c5d5932
better version of #255
2016-05-21 22:10:40 -04:00
Josh de Leeuw
1126aa6768
implements #255 and some minimal CSS support
2016-05-21 20:49:31 -04:00
Josh de Leeuw
e8db59b44b
don't try to auto preload functions
2016-05-21 17:09:39 -04:00
Josh de Leeuw
613e692567
fix bug from #233
2016-05-21 16:53:54 -04:00
Josh de Leeuw
88ea761973
quick bug fixes
2016-05-18 17:29:03 -04:00
Josh de Leeuw
01b78b54b9
implement pause/unpause #232
2016-05-18 17:21:25 -04:00
Josh de Leeuw
ecbdfa50dd
implements adding node to end of timeline
2016-05-18 17:04:14 -04:00
Josh de Leeuw
94e884ca1e
fix window reference for server-side use
2016-04-14 15:35:27 -04:00
Josh de Leeuw
e011ced826
remove dependency on window object for query_string
2016-04-13 18:30:02 -04:00
Josh de Leeuw
2367a276f2
major cleanup, and basic level test works.
2016-04-07 15:01:50 -04:00
Josh de Leeuw
3e1bae218c
first (buggy) implementation of timeline variables
2016-04-06 18:28:49 -04:00
Josh de Leeuw
1a715c86ad
fixes #237 and adds test
2016-03-02 23:15:06 -05:00
Josh de Leeuw
d6ba7c9a26
fixes #222
2016-01-23 22:35:45 -05:00
Josh de Leeuw
9c6396cba3
remove old empty function
2016-01-23 22:30:05 -05:00
Josh de Leeuw
58bd9c9550
fixes #223
2016-01-23 22:23:38 -05:00
Josh de Leeuw
4de65db9d9
fixes #211
2016-01-07 16:34:03 -05:00
Josh de Leeuw
486b543a29
fixes #215
2016-01-07 12:08:29 -05:00
Josh de Leeuw
17cb2cd1f7
getting data docs renamed, renaming some data functions
2016-01-05 14:36:08 -05:00
Josh de Leeuw
95419af8ae
renaming chunks to timeline
2016-01-05 14:04:01 -05:00
Josh de Leeuw
5ff4e2666a
add randomID method ( #214 )
2016-01-05 13:31:52 -05:00
Josh de Leeuw
b289e182d5
allow end_message in endExperiment ( #213 )
2016-01-05 13:16:56 -05:00