Bump to v4.0.5.

This commit is contained in:
John-David Dalton
2016-03-01 20:55:53 -08:00
parent 5f90c0b163
commit a219b6c927
48 changed files with 791 additions and 327 deletions

View File

@@ -1,4 +1,4 @@
# lodash.debounce v4.0.4
# lodash.debounce v4.0.5
The [lodash](https://lodash.com/) method `_.debounce` exported as a [Node.js](https://nodejs.org/) module.
@@ -15,4 +15,4 @@ In Node.js:
var debounce = require('lodash.debounce');
```
See the [documentation](https://lodash.com/docs#debounce) or [package source](https://github.com/lodash/lodash/blob/4.0.4-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.5-npm-packages/lodash.debounce) for more details.

View File

@@ -1,5 +1,5 @@
/**
* lodash 4.0.4 (Custom Build) <https://lodash.com/>
* lodash 4.0.5 (Custom Build) <https://lodash.com/>
* Build: `lodash modularize exports="npm" -o ./`
* Copyright jQuery Foundation and other contributors <https://jquery.org/>
* Released under MIT license <https://lodash.com/license>
@@ -226,6 +226,9 @@ function debounce(func, wait, options) {
timerId = setTimeout(timerExpired, wait);
return invokeFunc(lastCallTime);
}
if (timerId === undefined) {
timerId = setTimeout(timerExpired, wait);
}
return result;
}
debounced.cancel = cancel;

View File

@@ -1,6 +1,6 @@
{
"name": "lodash.debounce",
"version": "4.0.4",
"version": "4.0.5",
"description": "The lodash method `_.debounce` exported as a module.",
"homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg",