bigskysoftware / bigskysoftware/_hyperscript

end must be used where the docs say it should not be required (intro)

Open
#644 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
3.8k
Forks
172
PR merge metrics
No merged PRs in 30d

Description

codepen here: https://codepen.io/nicosql/pen/myEJmvB

Per the docs, https://hyperscript.org/docs/#introduction - the below should work without having to use `end` but instead it gives the below error.

Expected behavior: The below should work without having to use `end`
```
The end terminator can often be omitted for both features and statements if either of these conditions hold:

Another feature starts:

Click Me

```

error:

```
"hyperscript errors were found on the following element:"
Click Me
"

" "Expected 'end' but found 'on'

on mouseenter log 'Mouse entered!' end
^^

" "Error: Expected 'end' but found 'on'
```

solution:
```

Click Me

```

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.