mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-07 01:57:50 +00:00
Bump to v4.4.0.
This commit is contained in:
@@ -55,7 +55,11 @@ function throttle(func, wait, options) {
|
||||
leading = 'leading' in options ? !!options.leading : leading;
|
||||
trailing = 'trailing' in options ? !!options.trailing : trailing;
|
||||
}
|
||||
return debounce(func, wait, { 'leading': leading, 'maxWait': wait, 'trailing': trailing });
|
||||
return debounce(func, wait, {
|
||||
'leading': leading,
|
||||
'maxWait': wait,
|
||||
'trailing': trailing
|
||||
});
|
||||
}
|
||||
|
||||
export default throttle;
|
||||
|
||||
Reference in New Issue
Block a user