Bump to v3.2.1.

This commit is contained in:
jdalton
2015-05-19 08:03:41 -07:00
committed by John-David Dalton
parent 0847978784
commit 2a20de4a1e
81 changed files with 330 additions and 240 deletions

View File

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

View File

@@ -1,8 +1,8 @@
/**
* lodash 3.2.0 (Custom Build) <https://lodash.com/>
* lodash 3.2.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.7.0 <http://underscorejs.org/LICENSE>
* Based on Underscore.js 1.8.2 <http://underscorejs.org/LICENSE>
* Copyright 2009-2015 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
* Available under MIT license <https://lodash.com/license>
*/
@@ -29,14 +29,14 @@ var isError = require('lodash.iserror');
* }
*/
function attempt() {
var length = arguments.length,
func = arguments[0];
var func = arguments[0],
length = arguments.length,
args = Array(length ? length - 1 : 0);
while (--length > 0) {
args[length - 1] = arguments[length];
}
try {
var args = Array(length ? length - 1 : 0);
while (--length > 0) {
args[length - 1] = arguments[length];
}
return func.apply(undefined, args);
} catch(e) {
return isError(e) ? e : new Error(e);

View File

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