From 2f859b88871b9ecd8210bdf5b828ab5b1f9934ce Mon Sep 17 00:00:00 2001 From: jade <101148768+jadeddelta@users.noreply.github.com> Date: Wed, 20 Nov 2024 01:51:41 -0500 Subject: [PATCH] fix to use evaluateTimelineVariable --- docs/overview/building-surveys.md | 4 ++-- examples/extension-record-video.html | 2 +- examples/webgazer.html | 4 ++-- .../examples/dynamically_generating_content.html | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/overview/building-surveys.md b/docs/overview/building-surveys.md index 257a695410..5a5dccfb38 100644 --- a/docs/overview/building-surveys.md +++ b/docs/overview/building-surveys.md @@ -387,7 +387,7 @@ Rather than repeating a question format within the same trial, perhaps you want elements: [ { type: "text", - title: `Enter a word related to ${jsPsych.timelineVariable('word').toUpperCase()}:`, + title: `Enter a word related to ${jsPsych.evaluteTimelineVariable('word').toUpperCase()}:`, autocomplete: "off" } ], @@ -416,7 +416,7 @@ Rather than repeating a question format within the same trial, perhaps you want // Create question using timeline variables const page = survey.addNewPage('page1'); const question = page.addNewQuestion('text'); - question.title = `Enter a word related to ${jsPsych.timelineVariable('word').toUpperCase()}`; + question.title = `Enter a word related to ${jsPsych.evaluateTimelineVariable('word').toUpperCase()}`; question.autocomplete = "off"; // Set survey-level parameters survey.showQuestionNumbers = false; diff --git a/examples/extension-record-video.html b/examples/extension-record-video.html index 10108a75c5..29cf9ee570 100644 --- a/examples/extension-record-video.html +++ b/examples/extension-record-video.html @@ -32,7 +32,7 @@ type: jsPsychHtmlKeyboardResponse, stimulus: ()=>{ let html = `