From 9991c6f7c0b55e753fa13876725a3e2b2168b290 Mon Sep 17 00:00:00 2001 From: Tim Gates Date: Thu, 6 Apr 2023 22:03:48 +1000 Subject: [PATCH] docs: Fix a few typos There are small typos in: - CONTRIBUTING.md - Readme.md Fixes: - Should read `serialized` rather than `seralized`. - Should read `environment` rather than `enivronment`. - Should read `consistent` rather than `consistient`. Signed-off-by: Tim Gates --- CONTRIBUTING.md | 2 +- Readme.md | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 9c1aa2a5..24401b50 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -7,7 +7,7 @@ Pull requests and issues are welcome! For all contributions, please: ## Issues -If you're submitting a bug, please include the enivronment (browser/node) and relevant environment version(s) that you have encountered the bug in. +If you're submitting a bug, please include the environment (browser/node) and relevant environment version(s) that you have encountered the bug in. ## Pull Requests diff --git a/Readme.md b/Readme.md index 7e61433c..406b25d5 100644 --- a/Readme.md +++ b/Readme.md @@ -146,7 +146,7 @@ const svgOpts = { **`pattern.toSVGTree(svgOpts?)`** -Alternate rendering function for SVG. Returns a lightweight node tree structure that can be seralized to a valid SVG string using the `toString()` function. In node environments, this is an alias for +Alternate rendering function for SVG. Returns a lightweight node tree structure that can be serialized to a valid SVG string using the `toString()` function. In node environments, this is an alias for `pattern.toSVG()`. @@ -219,7 +219,7 @@ Decimal value between 0 and 1 (inclusive), defaults to `0.75`. Specify the amoun **`seed`** -String, defaults to `null`. Seeds the random number generator to create repeatable patterns. When set to null, the RNG will be seeded with random values from the environment. An example usage would be passing in blog post titles as the seed to generate unique but consistient trianglify patterns for every post on a blog site. +String, defaults to `null`. Seeds the random number generator to create repeatable patterns. When set to null, the RNG will be seeded with random values from the environment. An example usage would be passing in blog post titles as the seed to generate unique but consistent trianglify patterns for every post on a blog site. **`xColors`**