Bump to v3.4.1.

This commit is contained in:
jdalton
2015-03-08 20:25:13 -07:00
committed by John-David Dalton
parent 8813a1ee09
commit 2017284ed9
13 changed files with 24 additions and 61 deletions

View File

@@ -1,4 +1,4 @@
# lodash.add v3.4.0
# lodash.add v3.4.1
The [modern build](https://github.com/lodash/lodash/wiki/Build-Differences) of [lodashs](https://lodash.com/) `_.add` exported as a [Node.js](http://nodejs.org/)/[io.js](https://iojs.org/) module.
@@ -17,4 +17,4 @@ In Node.js/io.js:
var add = require('lodash.add');
```
See the [documentation](https://lodash.com/docs#add) or [package source](https://github.com/lodash/lodash/blob/3.4.0-npm-packages/lodash.add) for more details.
See the [documentation](https://lodash.com/docs#add) or [package source](https://github.com/lodash/lodash/blob/3.4.1-npm-packages/lodash.add) for more details.

View File

@@ -1,8 +1,8 @@
/**
* lodash 3.4.0 (Custom Build) <https://lodash.com/>
* lodash 3.4.1 (Custom Build) <https://lodash.com/>
* Build: `lodash modern modularize exports="npm" -o ./`
* Copyright 2012-2015 The Dojo Foundation <http://dojofoundation.org/>
* Based on Underscore.js 1.8.2 <http://underscorejs.org/LICENSE>
* Based on Underscore.js 1.8.3 <http://underscorejs.org/LICENSE>
* Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
* Available under MIT license <https://lodash.com/license>
*/
@@ -22,7 +22,7 @@
* // => 10
*/
function add(augend, addend) {
return augend + addend;
return (+augend || 0) + (+addend || 0);
}
module.exports = add;

View File

@@ -1,6 +1,6 @@
{
"name": "lodash.add",
"version": "3.4.0",
"version": "3.4.1",
"description": "The modern build of lodashs `_.add` as a module.",
"homepage": "https://lodash.com/",
"icon": "https://lodash.com/icon.svg",