mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-03 08:37:49 +00:00
Bump to v3.2.0.
This commit is contained in:
@@ -1,4 +1,3 @@
|
||||
import isFunction from '../lang/isFunction';
|
||||
import isObject from '../lang/isObject';
|
||||
import now from '../date/now';
|
||||
|
||||
@@ -82,7 +81,7 @@ function debounce(func, wait, options) {
|
||||
maxWait = false,
|
||||
trailing = true;
|
||||
|
||||
if (!isFunction(func)) {
|
||||
if (typeof func != 'function') {
|
||||
throw new TypeError(FUNC_ERROR_TEXT);
|
||||
}
|
||||
wait = wait < 0 ? 0 : wait;
|
||||
|
||||
Reference in New Issue
Block a user