jspsych/jsPsych

[jspsych.org v8 docs] Deprecated function jsPsych.addNodeToEndOfTimeline() listed in the reference

jabeim opened this issue · 4 comments

The website lists addNodeToEndOfTimeline as jspsych method to add new timeline nodes to the end of a running timeline. This function appears to have been deprecated in v8 (but its removal is not listed in the v8 release notes).

I noticed this because a v7 experiment that was working stopped after updating to v8 with an error that addNodeToEndOfTimeline is not a function.

Details

  • addNodeToEndOfTimeline in v7.3.4
  • no such method in v8.0.2
  • If its removal is intended the website v8 docs should be updated to remove references to it or state that its deprecated.

    Related to this discrepancy:
    Is there an alternative method to add additional trials to the experiment dynamically now that this function is removed?

    @bjoluc I know we talked about this functionality. Can you remind me what the way to do it in v8 is?