Skip to content

Commit

Permalink
Updated Docs
Browse files Browse the repository at this point in the history
  • Loading branch information
DeepDoge committed Oct 14, 2024
1 parent f68d41e commit 58bcc8f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion jsr.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@purifyjs/core",
"version": "0.0.304",
"version": "0.0.305",
"exports": "./lib/all.ts",
"publish": {
"include": ["lib", "LICENSE", "README.md"]
Expand Down
4 changes: 2 additions & 2 deletions lib/dependency.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ export let add = (signal: Signal<unknown>): void => {
* ```ts
* // Using track in a computed context to ignore further tracking
* computed(() => {
* add(this); // Add the current signal for tracking
* return track(() => getter(this.val)); // Ignore further adds
* add(signal); // Add the current signal for tracking
* return track(() => getter(signal.val)); // Ignore further adds
* });
* ```
*/
Expand Down

0 comments on commit 58bcc8f

Please sign in to comment.