Bump to v3.0.3.

This commit is contained in:
jdalton
2015-02-13 09:18:57 -08:00
committed by John-David Dalton
parent e2db58867b
commit 415e8ce0ed
156 changed files with 599 additions and 625 deletions

View File

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

View File

@@ -1,8 +1,8 @@
/**
* lodash 3.0.2 (Custom Build) <https://lodash.com/>
* lodash 3.0.3 (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>
*/
@@ -41,11 +41,11 @@ function isObject(value) {
// Avoid a V8 JIT bug in Chrome 19-20.
// See https://code.google.com/p/v8/issues/detail?id=2291 for more details.
var type = typeof value;
return type == 'function' || (!!value && type == 'object');
return !!value && (type == 'object' || type == 'function');
}
/**
* Truncates `string` if it is longer than the given maximum string length.
* Truncates `string` if it's longer than the given maximum string length.
* The last characters of the truncated string are replaced with the omission
* string which defaults to "...".
*

View File

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