Skip to content

Commit c6ac39a

Browse files
committed
Merge pull request #115 from krizalys/master
Fixed grammar in README
2 parents e682d5b + dc06c52 commit c6ac39a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -70,10 +70,10 @@ or
7070

7171
Just like JsDiff.createTwoFilesPatch, but with oldFileName being equal to newFileName.
7272

73-
73+
7474
* `JsDiff.structuredPatch(oldFileName, newFileName, oldStr, newStr, oldHeader, newHeader, options)` - returns an object with an array of hunk objects.
7575

76-
This method is similar to createTwoFilesPatch, but returns a data structure
76+
This method is similar to createTwoFilesPatch, but returns a data structure
7777
suitable for further processing. Parameters are the same as createTwoFilesPatch. The data structure returned may look like this:
7878

7979
```js
@@ -115,7 +115,7 @@ or
115115
All methods above which accept the optional `callback` method will run in sync mode when that parameter is omitted and in async mode when supplied. This allows for larger diffs without blocking the event loop. This may be passed either directly as the final parameter or as the `callback` field in the `options` object.
116116

117117
### Change Objects
118-
Many of the methods above return change objects. These objects are consist of the following fields:
118+
Many of the methods above return change objects. These objects consist of the following fields:
119119

120120
* `value`: Text content
121121
* `added`: True if the value was inserted into the new string

0 commit comments

Comments
 (0)