perf(html): onevent attrs (#4752)

This commit is contained in:
Benny Powers 2023-05-03 13:18:03 +03:00 committed by GitHub
parent 5e95ecaad0
commit bff7115bf8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -71,5 +71,4 @@
(attribute
(attribute_name) @_name
(#lua-match? @_name "^on[a-z]+$")
(#offset! @javascript 0 1 0 -1)
(quoted_attribute_value) @javascript)
(quoted_attribute_value (attribute_value) @javascript))