mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-09 10:27:49 +00:00
Fix _.throttle doc typo. [ci skip]
This commit is contained in:
@@ -5789,7 +5789,7 @@
|
|||||||
*
|
*
|
||||||
* // execute `renewToken` when the click event is fired, but not more than once every 5 minutes
|
* // execute `renewToken` when the click event is fired, but not more than once every 5 minutes
|
||||||
* var throttled = _.throttle(renewToken, 300000, { 'trailing': false })
|
* var throttled = _.throttle(renewToken, 300000, { 'trailing': false })
|
||||||
* jQuery('.interactive').on('click',);
|
* jQuery('.interactive').on('click', throttled);
|
||||||
*
|
*
|
||||||
* // cancelling a trailing throttled call
|
* // cancelling a trailing throttled call
|
||||||
* jQuery(window).on('popstate', throttled.cancel);
|
* jQuery(window).on('popstate', throttled.cancel);
|
||||||
|
|||||||
Reference in New Issue
Block a user