bigskysoftware / bigskysoftware/_hyperscript
end must be used where the docs say it should not be required (intro)
- Lenguaje dominante
- JavaScript
- Estrellas
- 3.8k
- Forks
- 172
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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
```
Guía de contribución
No hay ninguna guía de contribución indexada para este repositorio
Línea de trabajo
Comienza reproduciendo el comportamiento informado en el CodePen enlazado y compáralo con el ejemplo introductorio de la documentación de hyperscript. Confirma que el ejemplo funciona sin el primer terminador `end` y que el error existente ya no se produce, preservando el comportamiento de la solución mostrada.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- javascript
- Área
- compilers, web-dev
- Tipo de issue
- Error
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Bien especificado
- Aptitud para principiantes
- 45/100