File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
packages/svelte/src/compiler/phases/2-analyze/visitors Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -79,12 +79,12 @@ export function RenderTag(node, context) {
79
79
80
80
/**
81
81
* @param {AST.Text | AST.Tag | AST.ElementLike | AST.Comment | AST.Block } child
82
- * @param {boolean } renderSnippet
82
+ * @param {boolean } render_snippet
83
83
* @returns {boolean }
84
84
*/
85
- function is_animate_directive ( child , renderSnippet = false ) {
85
+ function is_animate_directive ( child , render_snippet = false ) {
86
86
if ( child . type === 'RenderTag' ) {
87
- if ( renderSnippet ) return false // Prevent infinite recursion
87
+ if ( render_snippet ) return false // Prevent infinite recursion
88
88
for ( const snippet_block of child . metadata . snippets ) {
89
89
if ( snippet_block . body . nodes . includes ( child ) ) break
90
90
return snippet_block . body . nodes . some ( n => is_animate_directive ( n , true ) ) ;
You can’t perform that action at this time.
0 commit comments