From a3fd06a1a84e3c3d52ca60fc427820b0d2526efe Mon Sep 17 00:00:00 2001 From: Thijs Triemstra Date: Mon, 4 Jun 2018 21:24:13 +0200 Subject: [PATCH] docs(component): fix typo (#5226) --- src/js/component.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/js/component.js b/src/js/component.js index 96d9daa2a..6e7f2489f 100644 --- a/src/js/component.js +++ b/src/js/component.js @@ -1226,9 +1226,9 @@ class Component { * {@link Component#dispose} gets called. * 2. The function callback will gets turned into a {@link Component~GenericCallback} * - * > Note: You can use `window.clearTimeout` on the id returned by this function. This + * > Note: You can't use `window.clearTimeout` on the id returned by this function. This * will cause its dispose listener not to get cleaned up! Please use - * {@link Component#clearTimeout} or {@link Component#dispose}. + * {@link Component#clearTimeout} or {@link Component#dispose} instead. * * @param {Component~GenericCallback} fn * The function that will be run after `timeout`.