Skip to content

Commit 01fe5a4

Browse files
authored
Merge pull request #37 from Jason-Cooke/patch-1
docs: fix typos
2 parents c153fed + d60841a commit 01fe5a4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,7 @@ var vtt = nodeVTT.vtt,
142142

143143
The `errors` property contains an array of the aggregated
144144
[ParsingErrors](https://github.com/mozilla/vtt.js#parsingerror) from `vtt.js`
145-
that have been recieved while parsing some WebVTT file. Calling
145+
that have been received while parsing some WebVTT file. Calling
146146
[clear](#clearonclear) will empty the `errors` array.
147147

148148
```js
@@ -199,7 +199,7 @@ Parses `data` as a chunk of WebVTT data. `data` can either be a UTF8 Node ArrayB
199199
or a string. Make sure to call [init](#initoptions-oninit) or
200200
[setupParser](#setupparserencoding-onsetup) with the appropriate encoding specified
201201
before calling this function. `onParsed` will return an [error](#error) object that
202-
has a `message` property if an error occured. The parsed VTTCues and VTTRegions are
202+
has a `message` property if an error occurred. The parsed VTTCues and VTTRegions are
203203
aggregated on the `node-vtt` object itself and can be accessed via the [vtt](#vtt),
204204
[cues](#cues), or [regions](#regions) properties.
205205

0 commit comments

Comments
 (0)