bigskysoftware / bigskysoftware/_hyperscript
end must be used where the docs say it should not be required (intro)
- Lingua principale
- JavaScript
- Stelle
- 3.8k
- Fork
- 172
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
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
```
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
Inizia riproducendo il comportamento segnalato nel CodePen collegato e confrontalo con l'esempio introduttivo nella documentazione di hyperscript. Verifica che l'esempio funzioni senza il primo terminatore `end` e che l'errore esistente non si verifichi più, preservando il comportamento della soluzione mostrata.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- javascript
- Ambito
- compilers, web-dev
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Specificata chiaramente
- Idoneità per principianti
- 45/100