bigskysoftware / bigskysoftware/_hyperscript
Error on adding attribute with specified value
- Vorherrschende Sprache
- JavaScript
- Sterne
- 3.8k
- Forks
- 172
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
Version: 0.9.4 and 0.9.5
Tried the code from an [example](https://hyperscript.org/commands/add/):
``` html
Disable Other Buttons
```
but got an error:
```
[Error] hyperscript errors were found on the following element: (4)
Disable Other Buttons"
""Unexpected Token : =
on click add @disabled='true' to when it is not me
^^
"c — core.js:1149parseHyperScript — core.js:1169R — core.js:1896(анонимная функция) — core.js:1876a — core.js:1430processNode — core.js:1872e — core.js:5638
R (_hyperscript_web.min.js:1:16892)
(анонимная функция) (_hyperscript_web.min.js:1:17879)
a (_hyperscript_web.min.js:1:14554)
processNode (_hyperscript_web.min.js:1:17813)
e (_hyperscript_web.min.js:1:69299)
```
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Rechercherichtung
Reproduce the issue with the HTML example and inspect the parser locations reported in core.js:1149 and core.js:1169. Check how the add command parses @disabled='true', then verify that the example no longer produces the Unexpected Token error.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- javascript
- Bereich
- frontend
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100