Skip to content

Commit 3c9f2eb

Browse files
niklaskorzjoeyparrish
authored andcommitted
Fix documentation typos (#1272)
* Add a missing word in ManifestParser comments * Fix a typo in a comment in mp4_parser.js
1 parent e74255c commit 3c9f2eb

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

externs/shaka/manifest_parser.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,8 @@ shakaExtern.ManifestParser = function() {};
4848
* @description
4949
* Defines the interface of the Player to the manifest parser. This defines
5050
* fields and callback methods that the parser will use to interact with the
51-
* Player. The callback methods do not to be called as member functions (i.e.
52-
* they can be called as "free" functions).
51+
* Player. The callback methods do not need to be called as member functions
52+
* (i.e. they can be called as "free" functions).
5353
*
5454
* @property {!shaka.net.NetworkingEngine} networkingEngine
5555
* The networking engine to use for network requests.

lib/util/mp4_parser.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ shaka.util.Mp4Parser.BoxType_ = {
9999

100100

101101
/**
102-
* Delcare a box type as a Box.
102+
* Declare a box type as a Box.
103103
*
104104
* @param {string} type
105105
* @param {!shaka.util.Mp4Parser.CallbackType} definition

0 commit comments

Comments
 (0)