From dc895fc78251042b3f19f0a54db45e95bf1b1a0d Mon Sep 17 00:00:00 2001 From: Jahangir Iqbal <35706211+jiqbal48@users.noreply.github.com> Date: Tue, 6 Mar 2018 13:40:14 -0500 Subject: [PATCH] debounce function call I think you might have meant to call the debounce function defined a few lines before.. --- docs/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/index.md b/docs/index.md index 4707b5cab..f35d0cc3e 100644 --- a/docs/index.md +++ b/docs/index.md @@ -221,7 +221,7 @@ after(function () { clock.restore(); }); it('calls callback after 100ms', function () { var callback = sinon.spy(); - var throttled = throttle(callback); + var throttled = debounce(callback); throttled();