Skip to content

Commit e0ef1a5

Browse files
committed
snake case
1 parent 0e20365 commit e0ef1a5

File tree

1 file changed

+3
-3
lines changed
  • packages/svelte/src/compiler/phases/2-analyze/visitors

1 file changed

+3
-3
lines changed

packages/svelte/src/compiler/phases/2-analyze/visitors/RenderTag.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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));

0 commit comments

Comments
 (0)