Open becky-gilbert opened 1 year ago
Possible bug: the study hangs on the frame below because generateProperties code produces a condition not defined error.
generateProperties
condition not defined
Code:
"remember-my-condition": { "kind": "exp-lookit-text", "generateProperties": "function(expData, sequence, child, pastSessions, conditions) {var conditions = expData['3-condition-text-trials'].conditions;if (conditions['conditionNum'] == 0) {console.log('condition 1');} else {console.log('condition 2');}}", "blocks":[{"text":"some text"}] }
See here for description: https://github.com/lookit/lookit-api/issues/1139#issuecomment-1476829207
See Conditions and Logic study on staging for an example.
Possible bug: the study hangs on the frame below because
generateProperties
code produces acondition not defined
error.Code:
See here for description: https://github.com/lookit/lookit-api/issues/1139#issuecomment-1476829207
See Conditions and Logic study on staging for an example.