Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/giant-crabs-buy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@jspsych/plugin-button-click-counter": major
---

Changed the default label for `button_label` to "Click here!" from "Click me!"
2 changes: 1 addition & 1 deletion packages/plugin-button-click-counter/src/index.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ describe("button-click-counter", () => {
},
]);

expect(getHTML()).toContain("Click me!");
expect(getHTML()).toContain("Click here!");
expect(getHTML()).toContain("<button");
});

Expand Down
2 changes: 1 addition & 1 deletion packages/plugin-button-click-counter/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ const info = <const>{
/** The label to display on the button. */
button_label: {
type: ParameterType.STRING,
default: "Click me!",
default: "Click here!",
},
/** The key that the participant must press to end the trial. If null, any key press will end the trial. */
key_to_advance: {
Expand Down
Loading