curran / curran/example-viewer

Guard edges for example sets

Open
#16 0 comments 0 reactions 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.