Skip to content

Commit 6bf82ff

Browse files
authored
Added missing periods for consistency and correctness (#514)
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.
1 parent f4f1a90 commit 6bf82ff

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -492,7 +492,7 @@ Iterate over each mapping between an original source/line/column and a
492492
generated line/column in this source map.
493493

494494
- `callback`: The function that is called with each mapping. Mappings have the
495-
form `{ source, generatedLine, generatedColumn, originalLine, originalColumn, name }`
495+
form `{ source, generatedLine, generatedColumn, originalLine, originalColumn, name }`.
496496

497497
- `context`: Optional. If specified, this object will be the value of `this`
498498
every time that `callback` is called.
@@ -665,9 +665,9 @@ var node = new SourceNode(1, 2, "a.cpp", [
665665

666666
Creates a SourceNode from generated code and a SourceMapConsumer.
667667

668-
- `code`: The generated code
668+
- `code`: The generated code.
669669

670-
- `sourceMapConsumer` The SourceMap for the generated code
670+
- `sourceMapConsumer` The SourceMap for the generated code.
671671

672672
- `relativePath` The optional path that relative sources in `sourceMapConsumer`
673673
should be relative to.
@@ -711,9 +711,9 @@ node.prepend("/** Build Id: f783haef86324gf **/\n\n");
711711
Set the source content for a source file. This will be added to the
712712
`SourceMap` in the `sourcesContent` field.
713713

714-
- `sourceFile`: The filename of the source file
714+
- `sourceFile`: The filename of the source file.
715715

716-
- `sourceContent`: The content of the source file
716+
- `sourceContent`: The content of the source file.
717717

718718
```js
719719
node.setSourceContent(

0 commit comments

Comments
 (0)