From 88df8a0d172926e209f95f837bd4eba6c6e41d09 Mon Sep 17 00:00:00 2001 From: Wing-Hou Chan Date: Thu, 29 May 2014 08:26:22 +0100 Subject: [PATCH] Fix typos Fixes #5236 --- doc/pages/javascript-utilities.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/pages/javascript-utilities.html b/doc/pages/javascript-utilities.html index 919b6c33b..3c1a18078 100644 --- a/doc/pages/javascript-utilities.html +++ b/doc/pages/javascript-utilities.html @@ -114,7 +114,7 @@ Many times when you create a callback, it’s advantageous to add a delay in Throttle prevents a function from being executed more than once every n milliseconds. Throttling is often used in cases where it’s disadvantageous to trigger a callback every time an event is triggered (during a continuous action), but you still want to trigger a reaction while the event is occurring. Examples of this would be reacting to the browser window being resized, or animating an element. -Debounce prevents a function from being executed until it stops being invoked for n milliseconds. Debouncing is often used to prevent an action from being performed twice, such as double clicking a submit button, or to delay an event from occurring accidentially, such as an even triggered by hover. +Debounce prevents a function from being executed until it stops being invoked for n milliseconds. Debouncing is often used to prevent an action from being performed twice, such as double clicking a submit button, or to delay an event from occurring accidentally, such as an event triggered by hover.
-- 2.47.2