comments fix

This commit is contained in:
Marek
2017-12-22 09:10:09 +01:00
parent ecca42450b
commit 0135579e80
+6 -6
View File
@@ -23,9 +23,9 @@
* all arguments are passed through, as-is, to `callback` when the
* throttled-function is executed.
*
* @param debounceMode If `debounceMode` is true (at begin), schedule `clear`
* to execute after `delay` ms. If `debounceMode` is false (at end), schedule
* `callback` to execute after `delay` ms.
* @param debounceMode If `debounceMode` is true (at begin), schedule
* `callback` to execute after `delay` ms. If `debounceMode` is false (at end),
* schedule `callback` to execute after `delay` ms.
*
* @return
* A new, throttled, function.
@@ -50,9 +50,9 @@ export function throttle<T>(
* all arguments are passed through, as-is, to `callback` when the
* throttled-function is executed.
*
* @param debounceMode If `debounceMode` is true (at begin), schedule `clear`
* to execute after `delay` ms. If `debounceMode` is false (at end), schedule
* `callback` to execute after `delay` ms.
* @param debounceMode If `debounceMode` is true (at begin), schedule
* `callback` to execute after `delay` ms. If `debounceMode` is false (at end),
* schedule `callback` to execute after `delay` ms.
*
* @return
* A new, throttled, function.