Bump to v3.5.0.

This commit is contained in:
jdalton
2015-03-08 18:09:08 -07:00
parent d01a1e4ef3
commit ee1f12c851
29 changed files with 117 additions and 71 deletions

View File

@@ -60,7 +60,7 @@ function trunc(string, options, guard) {
if (options != null) {
if (isObject(options)) {
var separator = 'separator' in options ? options.separator : separator;
length = 'length' in options ? +options.length || 0 : length;
length = 'length' in options ? (+options.length || 0) : length;
omission = 'omission' in options ? baseToString(options.omission) : omission;
} else {
length = +options || 0;