Josh de Leeuw
1a4910bde5
use enforceArray and update namespace of pluginAPI
2014-06-29 21:36:08 -04:00
Josh de Leeuw
fe210550f1
use enforceArray and update namespace of pluginAPI
2014-06-29 19:25:25 -04:00
Josh de Leeuw
8592f37a7e
update doc header
2014-06-29 15:47:55 -04:00
Josh de Leeuw
2b6d651dcb
use enforceArray and update namespace of pluginAPI
2014-06-29 15:46:56 -04:00
Josh de Leeuw
71d89a713f
use enforceArray and update namespace of pluginAPI
2014-06-29 15:44:46 -04:00
Josh de Leeuw
be1f8de9ba
use pluginAPI namespace
2014-06-29 12:13:31 -04:00
Josh de Leeuw
61a0600184
use enforceArray and update namespace of pluginAPI
2014-06-29 10:48:47 -04:00
Josh de Leeuw
ef64d1389b
handle undefined params in enforceArray
2014-06-29 10:48:02 -04:00
Josh de Leeuw
6d08b3ce86
add turk module
2014-06-29 09:26:01 -04:00
Josh de Leeuw
133ce33c3b
create dataAPI
2014-06-28 22:10:07 -04:00
Josh de Leeuw
ac0ce67f16
use getKeyboardResponse
2014-06-28 21:50:03 -04:00
Josh de Leeuw
62e4d3e9c2
use getKeyboardResponse
2014-06-28 21:46:38 -04:00
Josh de Leeuw
44c3168315
use getKeyboardResponse
2014-06-28 21:43:08 -04:00
Josh de Leeuw
96168396c5
use getKeyboardResponse
2014-06-28 12:12:22 -04:00
Josh de Leeuw
ba7d09c26d
use getKeyboardResponse
2014-06-28 10:58:08 -04:00
Josh de Leeuw
dc4afd50bd
add option to persist a keyboard listener
2014-06-28 10:51:54 -04:00
Josh de Leeuw
119c94ca5b
move keycode
2014-06-27 23:02:10 -04:00
Josh de Leeuw
2d586bbaa6
move functions into pluginAPI module
2014-06-27 23:00:48 -04:00
Josh de Leeuw
fecc9056fe
use getKeyboardResponse
2014-06-27 22:54:25 -04:00
Josh de Leeuw
5e85c7025b
check to make sure listener exists before removing
2014-06-26 11:48:23 -04:00
Josh de Leeuw
511279df42
add ability to cancel getKeyboardResponse listeners
2014-06-26 11:41:41 -04:00
Josh de Leeuw
0663629a12
Merge pull request #55 from jodeleeuw/randomization
...
Randomization
2014-06-25 16:43:14 -04:00
Josh de Leeuw
0eea72adb1
add factorial method, rename simpleSample to repeat
2014-06-25 13:31:58 -04:00
Josh de Leeuw
f3a514a20b
add randomization module
...
* includes simpleSample method and a few private helper functions
2014-06-25 12:27:03 -04:00
Josh de Leeuw
88b9caac91
Merge pull request #53 from jodeleeuw/centralize-key-responses
...
Centralize key responses
2014-06-25 12:00:13 -04:00
Josh de Leeuw
5880398058
allow key string lookup
2014-06-25 08:58:06 -04:00
Josh de Leeuw
46bd26ed84
use getKeyboardResponse
2014-06-24 18:42:00 -04:00
Josh de Leeuw
9469335344
a few small bugs
2014-06-24 18:35:30 -04:00
Josh de Leeuw
b913c7c9d0
bug fix in getKeyboardResponse
2014-06-24 18:34:44 -04:00
Josh de Leeuw
85ea030ed0
wrong logical operator
2014-06-24 16:59:39 -04:00
Josh de Leeuw
f5bdd16095
update to work with new centralized keyboard response method
2014-06-24 14:28:56 -04:00
Josh de Leeuw
ba64349cb5
Adding getKeyboardResponse method to core
2014-06-24 14:10:16 -04:00
Josh de Leeuw
8d2211b712
Add error message if plugin is not loaded
...
Closes #51
2014-06-24 12:07:57 -04:00
Josh de Leeuw
eaf6219fa5
update data saving to block.writeData
2014-06-19 15:36:24 -04:00
Josh de Leeuw
12c527e0b4
typo fix in core.submitToTurk
2014-06-16 09:44:51 -04:00
Josh de Leeuw
ebfc6548f6
Add core.submitToTurk
...
* add function to core
* modify turkInfo to also grab turkSubmitTo location (either sandbox or production)
2014-06-15 12:56:03 -04:00
Josh de Leeuw
decd0cf04b
add jsPsych.totalTime method
...
gets the total time in ms since the experiment started.
2014-06-11 23:15:17 -04:00
Josh de Leeuw
b3b82db7f8
add class information to display element
...
related to issue #45
2014-06-11 16:10:35 -04:00
Josh de Leeuw
4d5d5b7217
Update README.md
2014-05-22 09:11:05 -04:00
Josh de Leeuw
d86c82f707
Merge pull request #47 from jodeleeuw/smart-arrays
...
Smart arrays
2014-05-21 13:31:42 -04:00
Josh de Leeuw
1f0df1f80e
allow for text and data to be non-arrays for single trial block
...
issue #24
2014-05-19 10:44:02 -04:00
Josh de Leeuw
c0beee3221
handle multiple parameters with single call of enforce array
2014-05-19 10:42:14 -04:00
Josh de Leeuw
efed8009a1
delete files - from master merge
2014-05-19 10:06:21 -04:00
Josh de Leeuw
c5539da1a6
Merge branch 'master' into smart-arrays
...
Conflicts:
jspsych.js
2014-05-19 10:05:58 -04:00
Josh de Leeuw
d3d6acc4d8
remove variables option
...
issue #44
2014-05-18 11:55:19 -04:00
Josh de Leeuw
3f25eac294
removing dev folder from master branch. see branch plugin-dev-old for recovery.
2014-05-15 14:48:40 -04:00
Josh de Leeuw
ab6c105dd1
make sure unprocessed functions get preserved in trial obj
...
related to issue #42
2014-05-15 14:25:33 -04:00
Josh de Leeuw
55ebe2f413
protect check_fn in normalizeTrialVariables
2014-05-14 15:14:08 -04:00
Josh de Leeuw
a8f2a676e6
Allow for protected variables in normalizeTrialVariables
...
Related to #43
2014-05-14 15:13:04 -04:00
Josh de Leeuw
b84df35eb0
Remove normalize trial variables method
...
This is a bad idea for this plugin, since check_fn is a function. Need to figure out a way to protect variables like this one. For now, just revert to no functions as trial variables for this plugin.
2014-05-14 12:50:23 -04:00