Skip to content

Commit

Permalink
chore: update
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Jun 2, 2024
1 parent df039c9 commit a4cda8f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions fixtures/input/astro.astro
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ const content = "hi!";


<script>
let { log: logger } = console
document.querySelector('h1')?.addEventListener('click', () => {
alert('hi!');
logger('clicked');
});

</script>
8 changes: 4 additions & 4 deletions fixtures/output/all/astro.astro
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ const content = 'hi!';


<script>
document.querySelector('h1')?.addEventListener('click', () => {
alert('hi!');
});

const { log: logger } = console
document.querySelector('h1')?.addEventListener('click', () => {
logger('clicked')
})
</script>
8 changes: 4 additions & 4 deletions fixtures/output/with-formatters/astro.astro
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ const content = 'hi!';


<script>
document.querySelector('h1')?.addEventListener('click', () => {
alert('hi!');
});

const { log: logger } = console
document.querySelector('h1')?.addEventListener('click', () => {
logger('clicked')
})
</script>

0 comments on commit a4cda8f

Please sign in to comment.