Luiz Américo
e51a424513
Fix string methods to handle empty values ( #4442 )
...
* Enable strings category methods tests
* Ensure escape, pad, padEnd, padStart, trim, trimEnd, trimStart, unescape return an empty string for falsey values
* Coerce value to string using toString in truncate, capitalize and case methods
* Ensure createCaseFirst returns an empty string for falsey values
2019-08-26 06:13:55 -07:00
John-David Dalton
b8a3a42278
Remove toString coercion method use.
2017-03-14 23:29:32 -07:00
John-David Dalton
bda6d56c60
Remove guard params.
2017-03-05 02:37:18 -08:00
John-David Dalton
8f8b29368e
Simplify method juggle in trim modules.
2017-02-07 17:55:40 -08:00
John-David Dalton
04348ab176
Newline nit in trimEnd.
2017-02-07 01:43:52 -08:00
John-David Dalton
6cb3460fce
Remove semicolons.
2017-02-05 22:22:04 -08:00
John-David Dalton
f3a8e55e70
Use built-in String#trim methods when possible.
2017-02-03 22:49:18 -08:00
Bert Verhelst
401016d260
Add related function for each module. [ closes #2932 ]
2017-01-16 23:51:23 -08:00
John-David Dalton
8c97051909
Remove “static” jsdoc tag.
2017-01-10 01:09:46 -08:00
John-David Dalton
26ea38dcf4
Move internal modules to “internal” folder.
2017-01-10 00:45:05 -08:00
John-David Dalton
77cc37ba49
Remove references to _.
2017-01-09 17:38:33 -08:00
John-David Dalton
4d0c15b49e
Apply more let/const transforms.
2017-01-09 12:20:58 -08:00
John-David Dalton
2900cfd288
Modularize master branch.
2017-01-06 07:51:22 -08:00