curran / curran/example-viewer
Guard edges for example sets
Open
- Dominant language
- JavaScript
- Stars
- 2
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
Currently it's possible to go out-of-bounds for examples (e.g. -1, or beyond the last example).
Going beyond the last example is a feature in a sense, as it can be used to create new examples. It may be better, though, to have new example creation be an explicit operation.
Ultimately what would be best is to wrap around from one unit to the next.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.