Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jabeim opened this issue Aug 21, 2024 · 1 comment

Comments

@jabeim
Copy link

jabeim commented Aug 21, 2024

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?

    @jodeleeuw
    Copy link
    Member

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

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    None yet
    Projects
    None yet
    Development

    No branches or pull requests

    2 participants