From b3f29838bfba4b46e78b86e19197fd4d61e368e8 Mon Sep 17 00:00:00 2001 From: Shay Molcho <152275799+shaymolcho@users.noreply.github.com> Date: Sat, 25 Jan 2025 08:45:32 +0200 Subject: [PATCH] Added missing periods for consistency and correctness Added missing periods in various parts of the text to ensure consistency and correctness in writing style. This revision maintains uniform formatting throughout the document, improves readability, and aligns the punctuation with the rest of the content for a more polished and structured appearance. --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 72402e35..3e78caf0 100644 --- a/README.md +++ b/README.md @@ -492,7 +492,7 @@ Iterate over each mapping between an original source/line/column and a generated line/column in this source map. - `callback`: The function that is called with each mapping. Mappings have the - form `{ source, generatedLine, generatedColumn, originalLine, originalColumn, name }` + form `{ source, generatedLine, generatedColumn, originalLine, originalColumn, name }`. - `context`: Optional. If specified, this object will be the value of `this` every time that `callback` is called. @@ -665,9 +665,9 @@ var node = new SourceNode(1, 2, "a.cpp", [ Creates a SourceNode from generated code and a SourceMapConsumer. -- `code`: The generated code +- `code`: The generated code. -- `sourceMapConsumer` The SourceMap for the generated code +- `sourceMapConsumer` The SourceMap for the generated code. - `relativePath` The optional path that relative sources in `sourceMapConsumer` should be relative to. @@ -711,9 +711,9 @@ node.prepend("/** Build Id: f783haef86324gf **/\n\n"); Set the source content for a source file. This will be added to the `SourceMap` in the `sourcesContent` field. -- `sourceFile`: The filename of the source file +- `sourceFile`: The filename of the source file. -- `sourceContent`: The content of the source file +- `sourceContent`: The content of the source file. ```js node.setSourceContent(