Skip to content
This repository has been archived by the owner on Nov 22, 2022. It is now read-only.

Commit

Permalink
Update functional.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
ZeroPie authored and FelixHenninger committed Jul 17, 2020
1 parent 9139912 commit f79ae43
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/learn/code/functional.rst
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ fixation cross. It is used often, rarely varies, and therefore a prime candidate
for abstraction using a function::

const fixationCross = function() {
return new lab.HTMLScreen(
return new lab.html.Screen(
'+',
{
'timeout': 500
Expand All @@ -175,7 +175,7 @@ hand.

For example, one might construct a simple experiment as follows::

const experiment = lab.Sequence([
const experiment = lab.flow.Sequence([
// First trial
fixationCross(),
// Stimulus 1
Expand Down

0 comments on commit f79ae43

Please sign in to comment.