Skip to content

Commit a3fd06a

Browse files
thijstriemstragkatsev
authored andcommitted
docs(component): fix typo (videojs#5226)
1 parent 702acdb commit a3fd06a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/js/component.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1226,9 +1226,9 @@ class Component {
12261226
* {@link Component#dispose} gets called.
12271227
* 2. The function callback will gets turned into a {@link Component~GenericCallback}
12281228
*
1229-
* > Note: You can use `window.clearTimeout` on the id returned by this function. This
1229+
* > Note: You can't use `window.clearTimeout` on the id returned by this function. This
12301230
* will cause its dispose listener not to get cleaned up! Please use
1231-
* {@link Component#clearTimeout} or {@link Component#dispose}.
1231+
* {@link Component#clearTimeout} or {@link Component#dispose} instead.
12321232
*
12331233
* @param {Component~GenericCallback} fn
12341234
* The function that will be run after `timeout`.

0 commit comments

Comments
 (0)