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

Commit 834b36f

Browse files
Revise starterkit study to better match the code generated by the builder
1 parent 650f205 commit 834b36f

File tree

3 files changed

+12
-17
lines changed

3 files changed

+12
-17
lines changed

packages/library/src/starterkit/experiment.js

Lines changed: 0 additions & 16 deletions
This file was deleted.

packages/library/src/starterkit/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<script src="lib/lab.fallback.js" data-labjs-script="fallback"></script>
1111
<link rel="stylesheet" href="lib/lab.css">
1212
<!-- actual experiment code -->
13-
<script defer src="experiment.js"></script>
13+
<script defer src="study.js"></script>
1414
</head>
1515
<body>
1616
<!-- If you'd rather have a container with a fixed width
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
// Define the sequence of components that define the study
2+
const study = new lab.flow.Sequence({
3+
content: [
4+
new lab.html.Screen({
5+
content: 'The experiment is running!',
6+
}),
7+
],
8+
})
9+
10+
// Start the study (uncomment to run)
11+
//study.run()

0 commit comments

Comments
 (0)