Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
Fixes #5236
  • Loading branch information
winghouchan committed May 29, 2014
1 parent a066691 commit 88df8a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/pages/javascript-utilities.html
Expand Up @@ -114,7 +114,7 @@ <h3 id="delay">Throttle &amp; Debounce</h3>

<strong>Throttle</strong> prevents a function from being executed more than once every n milliseconds. Throttling is often used in cases where it&#8217;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.

<strong>Debounce</strong> 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.
<strong>Debounce</strong> 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.

<div class="row">
<div class="large-6 columns">
Expand Down

0 comments on commit 88df8a0

Please sign in to comment.