format: apply repo prettier (3.8.1) to the folded skills tree
963 markdown files reformatted with the repository's pinned prettier so pnpm format:check covers the folded tree like every other repo file. The formatter's embedded-language pass also normalized code fences (TS semicolons, closed HTML tags in examples, lowercased CSS hex colors, one renumbered list that skipped an index). Alphanumeric token deltas vs the fold commit were audited file-by-file; all are formatter-equivalent markup normalizations plus the four sanitized skills.
This commit is contained in:
@@ -10,14 +10,14 @@ Reactive numeric projection from one domain to another.
|
||||
## Usage
|
||||
|
||||
```ts
|
||||
import { createProjection } from '@vueuse/math'
|
||||
import { createProjection } from '@vueuse/math';
|
||||
|
||||
const useProjector = createProjection([0, 10], [0, 100])
|
||||
const input = ref(0)
|
||||
const projected = useProjector(input) // projected.value === 0
|
||||
const useProjector = createProjection([0, 10], [0, 100]);
|
||||
const input = ref(0);
|
||||
const projected = useProjector(input); // projected.value === 0
|
||||
|
||||
input.value = 5 // projected.value === 50
|
||||
input.value = 10 // projected.value === 100
|
||||
input.value = 5; // projected.value === 50
|
||||
input.value = 10; // projected.value === 100
|
||||
```
|
||||
|
||||
## Type Declarations
|
||||
@@ -27,5 +27,5 @@ export declare function createProjection(
|
||||
fromDomain: MaybeRefOrGetter<readonly [number, number]>,
|
||||
toDomain: MaybeRefOrGetter<readonly [number, number]>,
|
||||
projector?: ProjectorFunction<number, number>,
|
||||
): UseProjection<number, number>
|
||||
): UseProjection<number, number>;
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user