Commit 7333747c authored by Thomas Pronk's avatar Thomas Pronk

_

parent 138fe923
......@@ -113,7 +113,7 @@ function experimentInit() {
welcome_text = new visual.TextStim({
win: psychoJS.window,
name: 'welcome_text',
text: '',
text: 'Whatever is over here will be replaced',
font: 'Arial',
units: undefined,
pos: [0, 0], height: 0.1, wrapWidth: undefined, ori: 0,
......@@ -317,7 +317,7 @@ function announce_sessionRoutineBegin(snapshot) {
key_resp.keys = undefined;
key_resp.rt = undefined;
_key_resp_allKeys = [];
announce_text.text = ("This is session: " + session);
announce_text.text = ("This is session: " + expInfo["session"]);
// keep track of which components have finished
announce_sessionComponents = [];
......
......@@ -124,7 +124,7 @@ function experimentInit() {
welcome_text = new visual.TextStim({
win: psychoJS.window,
name: 'welcome_text',
text: '',
text: 'Whatever is over here will be replaced',
font: 'Arial',
units: undefined,
pos: [0, 0], height: 0.1, wrapWidth: undefined, ori: 0,
......@@ -327,7 +327,7 @@ function announce_sessionRoutineBegin(snapshot) {
key_resp.keys = undefined;
key_resp.rt = undefined;
_key_resp_allKeys = [];
announce_text.text = ("This is session: " + session);
announce_text.text = ("This is session: " + expInfo["session"]);
// keep track of which components have finished
announce_sessionComponents = [];
......
......@@ -205,8 +205,8 @@
<Param name="Before JS Experiment" updates="constant" val="" valType="extendedCode"/>
<Param name="Begin Experiment" updates="constant" val="" valType="extendedCode"/>
<Param name="Begin JS Experiment" updates="constant" val="" valType="extendedCode"/>
<Param name="Begin JS Routine" updates="constant" val="announce_text.text = (&quot;This is session: &quot; + session);&amp;#10;" valType="extendedCode"/>
<Param name="Begin Routine" updates="constant" val="announce_text.text = 'This is session: ' + session;&amp;#10;" valType="extendedCode"/>
<Param name="Begin JS Routine" updates="constant" val="announce_text.text = (&quot;This is session: &quot; + expInfo[&quot;session&quot;]);&amp;#10;" valType="extendedCode"/>
<Param name="Begin Routine" updates="constant" val="announce_text.text = 'This is session: ' + expInfo['session']&amp;#10;" valType="extendedCode"/>
<Param name="Code Type" updates="None" val="Auto-&gt;JS" valType="str"/>
<Param name="Each Frame" updates="constant" val="" valType="extendedCode"/>
<Param name="Each JS Frame" updates="constant" val="" valType="extendedCode"/>
......@@ -240,7 +240,7 @@
<Param name="stopType" updates="None" val="duration (s)" valType="str"/>
<Param name="stopVal" updates="constant" val="" valType="code"/>
<Param name="syncScreenRefresh" updates="None" val="True" valType="bool"/>
<Param name="text" updates="constant" val="This text will be set via code" valType="extendedStr"/>
<Param name="text" updates="constant" val="Whatever is over here will be replaced" valType="extendedStr"/>
<Param name="units" updates="None" val="from exp settings" valType="str"/>
<Param name="wrapWidth" updates="constant" val="" valType="code"/>
</TextComponent>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment