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) {
7979
8080/**
8181 * @param {AST.Text | AST.Tag | AST.ElementLike | AST.Comment | AST.Block } child
82- * @param {boolean } renderSnippet
82+ * @param {boolean } render_snippet
8383 * @returns {boolean }
8484*/
85- function is_animate_directive ( child , renderSnippet = false ) {
85+ function is_animate_directive ( child , render_snippet = false ) {
8686 if ( child . type === 'RenderTag' ) {
87- if ( renderSnippet ) return false // Prevent infinite recursion
87+ if ( render_snippet ) return false // Prevent infinite recursion
8888 for ( const snippet_block of child . metadata . snippets ) {
8989 if ( snippet_block . body . nodes . includes ( child ) ) break
9090 return snippet_block . body . nodes . some ( n => is_animate_directive ( n , true ) ) ;
You can’t perform that action at this time.
0 commit comments