Commit Graph

131 Commits

Author SHA1 Message Date
Josh de Leeuw
b948e4bc6f fixes #134 2015-05-15 16:39:40 -04:00
Josh de Leeuw
4b4faa6636 fixes #105, #137 2015-05-15 15:31:39 -04:00
Josh de Leeuw
c7e1f40ddc *actually* fixes #128 2015-05-15 15:16:00 -04:00
Josh de Leeuw
b5bb1a552d fixes #128 2015-05-15 15:09:10 -04:00
Josh de Leeuw
d1f9985bf8 implements #136
does the stuff in #136.

- adds the addProperties function
- removes other ways to append data.
2015-05-15 14:46:12 -04:00
Josh de Leeuw
ab44b665a3 add list of variables that are always protected from norming
fixes #133, and provides framework for other related issues.
2015-05-15 14:04:39 -04:00
Josh de Leeuw
0cb807500f avoid loading audio twice
fixes issue #125
2015-03-27 13:43:11 -04:00
Josh de Leeuw
7f9db95c5d update docs loc 2015-02-19 10:24:33 -05:00
Josh de Leeuw
a1900a199b allow skip_load_check
issue #92
2015-02-19 10:15:59 -05:00
Josh de Leeuw
c780dd4557 add sample method
issue #102
2015-02-05 17:19:08 -05:00
Josh de Leeuw
686a6bcdaf fix issues with html content rendering in displayData
issue #99
2015-02-05 17:00:22 -05:00
Josh de Leeuw
0849f8bd9f add randomization.shuffle function
issue #100
2015-02-05 16:52:16 -05:00
Josh de Leeuw
45820a5249 comments removed 2015-02-05 16:49:21 -05:00
Josh de Leeuw
6a634244e3 temp fix to prevent non AudioContext browsers from breaking
issue #95
2014-11-14 15:28:33 -05:00
Josh de Leeuw
55f1d3c5d6 add convertKeyCharacterToKeyCode method 2014-11-14 15:14:48 -05:00
Josh de Leeuw
8ca0e2576c adds a check in init function to see if all audio is loaded 2014-11-11 10:18:12 -05:00
Josh de Leeuw
840cfa908c working audio plugin
- needed to change keyboardResponse method to support measuring RT off
of the audio context
- related to issues #3 and #4
2014-11-11 09:15:26 -05:00
Josh de Leeuw
bb1379b5e4 adding audio support functions to core 2014-11-11 08:37:57 -05:00
Josh de Leeuw
f7d02198d0 fix issue with flatten data
Fixes #85
2014-10-30 16:06:07 -04:00
Josh de Leeuw
b60a331e1f bug fix in displayData 2014-10-28 18:01:47 -04:00
Josh de Leeuw
3c6d7fdd66 removing force_refresh option for turkInfo
just parse the string every time
2014-10-16 11:06:43 -04:00
Josh de Leeuw
9d816dbf2b change blocks to timeline
closes #77
2014-10-15 13:43:28 -04:00
Josh de Leeuw
5546f08094 add getLastChunkData; edge case handling 2014-10-01 08:34:28 -04:00
Josh de Leeuw
f2c0ebf63d add getLastTrialData function 2014-10-01 08:28:50 -04:00
Josh de Leeuw
4171f8d461 adding if chunk 2014-10-01 02:51:47 +00:00
Josh de Leeuw
8cef6f089e semicolon 2014-10-01 02:22:51 +00:00
Josh de Leeuw
6f10c190c5 implement randomize_order and repetitions opts
closes issue #70
2014-09-25 09:13:08 -04:00
Josh de Leeuw
c5c0298c9a remove line 2014-09-24 08:53:49 -04:00
Josh de Leeuw
e07e05ce35 implement ability to get index of trial relative to block 2014-09-24 08:51:44 -04:00
Josh de Leeuw
c1c60c209d update progress bar spec
shows progress based on which chunk the subject is currently doing in
the root_chunk object. this means that progress updates less often, but
the experimenter can always break out blocks into lots of chunks if
they want the progress to update more frequently.
2014-09-24 08:37:28 -04:00
Josh de Leeuw
e4d2766f8b cleaning up stuff that isn't needed. 2014-09-23 16:31:01 -04:00
Josh de Leeuw
044cbc3d6e more fixes for nested chunks
- fixed method to get data associated with chunk ID
- isComplete now works for root type chunk
2014-09-23 16:14:36 -04:00
Josh de Leeuw
619d9ffa05 reconfiguring chunk to be tree-like
now there is a root chunk which contains the entire experiment, with
all other chunks being branches off of the root. lots of tweaking to
chunk ID code to get dynamic IDs depending on how many iterations of a
chunk have happened.
2014-09-23 14:10:51 -04:00
Josh de Leeuw
044cf9c780 trying to implement nested chunks
this is really broken right now.
2014-09-22 09:40:34 -04:00
Josh de Leeuw
d9c356f6d7 replace block.next with jsPsych.finishTrial(); 2014-09-19 15:19:01 -04:00
Josh de Leeuw
e7e3271731 more work to support while chunks
Issue #8
2014-09-19 15:05:11 -04:00
Josh de Leeuw
fcf8239578 implements while chunk
related to Issue #8
2014-09-19 14:43:59 -04:00
Josh de Leeuw
03386a661f various bug fixes to get chunks working 2014-09-19 14:21:49 -04:00
Josh de Leeuw
4128984f36 more work on chunk code 2014-09-19 08:45:59 -04:00
Josh de Leeuw
ab30087973 starting to fill in chunk behavior 2014-09-18 16:55:45 -04:00
Josh de Leeuw
73b6524c0f changing what blocks do
now they are just collections of trials, rather than having significant
functionality for running the experiment. the running code is now part
of the jsPsych object.
2014-09-18 09:58:21 -04:00
Josh de Leeuw
ba0ac9c6bf more changes to support chunks 2014-09-17 17:09:37 -04:00
Josh de Leeuw
4a783ea684 more sketching for chunks 2014-09-17 12:00:36 -04:00
Josh de Leeuw
6fc666ec1e start sketching out chunks 2014-09-17 11:41:54 -04:00
Josh de Leeuw
c19295bd98 add datastore object 2014-09-17 11:34:00 -04:00
Josh de Leeuw
80158e52f2 wake up this branch 2014-09-17 11:24:29 -04:00
Josh de Leeuw
bc00b48ee2 remove genericParameters from plugin specific implementations 2014-09-16 08:54:09 -04:00
Josh de Leeuw
1d5adf787a streamline generic trial options 2014-09-16 08:40:10 -04:00
Josh de Leeuw
2ed85be15b add generic trial options support in core
related to issue #36, #68
2014-09-15 10:53:24 -04:00
Josh de Leeuw
9ab6543cb0 starting to handle trial level callbacks
however, this will probably not be able to happen until the code for
creating trials is refactored somewhat. it’s difficult to specify trial
parameters without editing each plugin manually. when plugins can have
standardized values, then the other half of this can go in.
2014-09-12 16:41:01 -04:00