bigskysoftware / bigskysoftware/_hyperscript

Referring to an empty hyperscript file throws an error

Open
#308 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

Adding e.g. `` when `scripts._hs` is empty results in e.g.

```
Uncaught (in promise) RangeError: Invalid count value
at String.repeat (<anonymous>)
at hyperscript-0.9.5-2839a7f.js:1:9892
at Object.c [as raiseParseError] (hyperscript-0.9.5-2839a7f.js:1:9939)
at hyperscript-0.9.5-2839a7f.js:1:11322
at hyperscript-0.9.5-2839a7f.js:1:9423
at Object.i [as parseElement] (hyperscript-0.9.5-2839a7f.js:1:9535)
at hyperscript-0.9.5-2839a7f.js:1:35679
at hyperscript-0.9.5-2839a7f.js:1:9423
at i (hyperscript-0.9.5-2839a7f.js:1:9535)
at Object.l [as parseAnyOf] (hyperscript-0.9.5-2839a7f.js:1:9658)
```

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.