mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-09 10:27:49 +00:00
Commit and whitespace nits in debounce.
This commit is contained in:
@@ -53,7 +53,7 @@ import isObject from './isObject.js'
|
|||||||
* jQuery(window).on('popstate', debounced.cancel)
|
* jQuery(window).on('popstate', debounced.cancel)
|
||||||
*
|
*
|
||||||
* // Check for pending invocations.
|
* // Check for pending invocations.
|
||||||
* const status = debounced.pending() ? "Pending…" : "Ready"
|
* const status = debounced.pending() ? "Pending..." : "Ready"
|
||||||
*/
|
*/
|
||||||
function debounce(func, wait, options) {
|
function debounce(func, wait, options) {
|
||||||
let lastArgs,
|
let lastArgs,
|
||||||
|
|||||||
Reference in New Issue
Block a user