diff options
| author | elianiva <dicha.arkana03@gmail.com> | 2021-11-02 22:59:23 +0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-11-02 10:59:23 -0500 |
| commit | 0916cceab215786eea22035a7cb811bd1dafdaca (patch) | |
| tree | bc93b22b9745b85cccf113cb74ee2a6eefe92cdb /queries | |
| parent | 6d08b25f0e1e054a06241e2897a45fffe9fe6f8d (diff) | |
feat(svelte): inject JS on `each` expression (#1969)
Diffstat (limited to 'queries')
| -rw-r--r-- | queries/svelte/injections.scm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/queries/svelte/injections.scm b/queries/svelte/injections.scm index 6f29bb9c..d66530f7 100644 --- a/queries/svelte/injections.scm +++ b/queries/svelte/injections.scm @@ -14,7 +14,10 @@ (quoted_attribute_value (attribute_value) @css)) (#eq? @_attr "style")) -(raw_text_expr) @javascript +[ + (raw_text_expr) + (raw_text_each) +] @javascript ( (script_element |
