mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-01 15:57:48 +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
|
||||
* var throttled = _.throttle(renewToken, 300000, { 'trailing': false })
|
||||
* jQuery('.interactive').on('click',);
|
||||
* jQuery('.interactive').on('click', throttled);
|
||||
*
|
||||
* // cancelling a trailing throttled call
|
||||
* jQuery(window).on('popstate', throttled.cancel);
|
||||
|
||||
Reference in New Issue
Block a user