lodash.debounce
Advanced tools
Comparing version 4.0.1 to 4.0.2
/** | ||
* lodash 4.0.1 (Custom Build) <https://lodash.com/> | ||
* lodash 4.0.2 (Custom Build) <https://lodash.com/> | ||
* Build: `lodash modularize exports="npm" -o ./` | ||
@@ -76,3 +76,3 @@ * Copyright 2012-2016 The Dojo Foundation <http://dojofoundation.org/> | ||
* **Note:** If `leading` and `trailing` options are `true`, `func` is invoked | ||
* on the trailing edge of the timeout only if the the debounced function is | ||
* on the trailing edge of the timeout only if the debounced function is | ||
* invoked more than once during the `wait` timeout. | ||
@@ -193,3 +193,3 @@ * | ||
} else { | ||
if (!maxTimeoutId && !leading) { | ||
if (!lastCalled && !maxTimeoutId && !leading) { | ||
lastCalled = stamp; | ||
@@ -196,0 +196,0 @@ } |
{ | ||
"name": "lodash.debounce", | ||
"version": "4.0.1", | ||
"version": "4.0.2", | ||
"description": "The lodash method `_.debounce` exported as a module.", | ||
@@ -5,0 +5,0 @@ "homepage": "https://lodash.com/", |
@@ -1,2 +0,2 @@ | ||
# lodash.debounce v4.0.1 | ||
# lodash.debounce v4.0.2 | ||
@@ -18,2 +18,2 @@ The [lodash](https://lodash.com/) method `_.debounce` exported as a [Node.js](https://nodejs.org/) module. | ||
See the [documentation](https://lodash.com/docs#debounce) or [package source](https://github.com/lodash/lodash/blob/4.0.1-npm-packages/lodash.debounce) for more details. | ||
See the [documentation](https://lodash.com/docs#debounce) or [package source](https://github.com/lodash/lodash/blob/4.0.2-npm-packages/lodash.debounce) for more details. |
Sorry, the diff of this file is not supported yet
11699