Skip to content

Commit

Permalink
docs: typo in ## script_context_deprecated (#14694)
Browse files Browse the repository at this point in the history
* Fix typo in ## script_context_deprecated

Changed +++context+++ to +++module+++

* regenerate

---------

Co-authored-by: Rich Harris <[email protected]>
  • Loading branch information
waedi and Rich-Harris authored Dec 12, 2024
1 parent 5e8d6ed commit 65db409
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -775,7 +775,7 @@ Reassignments of module-level declarations will not cause reactive statements to
```

```svelte
<script ---context="module"--- +++context+++>
<script ---context="module"--- +++module+++>
let foo = 'bar';
</script>
```
Expand Down
2 changes: 1 addition & 1 deletion packages/svelte/messages/compile-warnings/template.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ This code will work when the component is rendered on the client (which is why t
> `context="module"` is deprecated, use the `module` attribute instead
```svelte
<script ---context="module"--- +++context+++>
<script ---context="module"--- +++module+++>
let foo = 'bar';
</script>
```
Expand Down

0 comments on commit 65db409

Please sign in to comment.