Minor doc nit. [ci skip]

This commit is contained in:
John-David Dalton
2014-05-25 12:32:15 -07:00
parent 34cde430a5
commit 1812d557b6

View File

@@ -5457,7 +5457,7 @@
* 'maxWait': 1000 * 'maxWait': 1000
* }, false); * }, false);
* *
* // cancelling a debounced call * // cancel a debounced call
* var todoChanges = _.debounce(batchLog, 1000); * var todoChanges = _.debounce(batchLog, 1000);
* Object.observe(models.todo, todoChanges); * Object.observe(models.todo, todoChanges);
* *
@@ -5849,7 +5849,7 @@
* var throttled = _.throttle(renewToken, 300000, { 'trailing': false }) * var throttled = _.throttle(renewToken, 300000, { 'trailing': false })
* jQuery('.interactive').on('click', throttled); * jQuery('.interactive').on('click', throttled);
* *
* // cancelling a trailing throttled call * // cancel a trailing throttled call
* jQuery(window).on('popstate', throttled.cancel); * jQuery(window).on('popstate', throttled.cancel);
*/ */
function throttle(func, wait, options) { function throttle(func, wait, options) {