Fix _.throttle doc typo. [ci skip]

This commit is contained in:
John-David Dalton
2014-05-25 09:14:02 -07:00
parent cb81fccfaf
commit 12a6b58614

View File

@@ -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);