SPIKE: Use custom events to trigger Scratch behaviour from the outside #2
Annotations
1 error
Run wagoid/commitlint-github-action@5ce82f5d814d4010519d15f0552aec4f17a1e1fe
You have commit messages with errors
⧗ input: Allow handleClickSave() to be triggered from outside MenuBar
By listening for the custom `scratch-gui-save` event.
Try this by:
- Running `npm start`
- Visiting http://localhost:8601 to view the Scratch editor
- Execute `window.dispatchEvent(new Event('scratch-gui-save'));` in the
web developer tools
- Observe the `received scratch-gui-save` and `START_MANUAL_UPDATING`
log messages in the web developer console
✖ subject may not be empty [subject-empty]
✖ type may not be empty [type-empty]
✖ found 2 problems, 0 warnings
ⓘ Get help: https://github.com/conventional-changelog/commitlint/#what-is-commitlint
⧗ input: Add button outside of Scratch GUI to fire save event
✖ subject may not be empty [subject-empty]
✖ type may not be empty [type-empty]
✖ found 2 problems, 0 warnings
ⓘ Get help: https://github.com/conventional-changelog/commitlint/#what-is-commitlint
|
Loading