Skip to content

Commit

Permalink
debounce function call
Browse files Browse the repository at this point in the history
I think you might have meant to call the debounce function defined a few lines before..
  • Loading branch information
jiqbal48 authored and fatso83 committed Mar 8, 2018
1 parent d7fb7d5 commit dc895fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/index.md
Expand Up @@ -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();

Expand Down

0 comments on commit dc895fc

Please sign in to comment.