John-David Dalton
5200c8d659
Remove unneeded n validation from _.before.
2014-07-01 12:21:11 -07:00
John-David Dalton
b084210705
Add _.before.
2014-07-01 11:57:45 -07:00
John-David Dalton
6622922468
Optimize _.clone.
2014-07-01 09:11:06 -07:00
John-David Dalton
caf31eb6d3
Doc tweaks. [ci skip]
2014-06-30 23:54:50 -07:00
John-David Dalton
464691f129
Optimize _.reduce and _.reduceRight.
2014-06-30 21:24:07 -07:00
Mariano Desanze
afcf539e6e
Fix doc typo as _.support.ownLast is false in all but IE < 9. [ci skip]
2014-06-30 14:19:11 -07:00
John-David Dalton
7400064cd5
Added _.sortedLastIndex and allow _.lastIndexOf to work with sorted arrays and _.sortedLastIndex.
2014-06-30 09:40:55 -07:00
John-David Dalton
7eb3754807
Doc and source cleanup.
2014-06-29 18:13:47 -07:00
John-David Dalton
a9cc2fdb54
Add toIterable to reduce support.unindexedChars use and optimize/simplify methods. [ closes #601 ]
2014-06-29 14:14:16 -07:00
John-David Dalton
1e8a820108
Split _.every, _.filter, _.map, _.reduce, & _.some into arrayXYZ and baseXYZ forms as well as specialize for _.bind and _.partial.
2014-06-28 23:33:15 -07:00
John-David Dalton
d21eac8b18
Cleanup _.forEach docs. [ci skip]
2014-06-28 23:33:15 -07:00
Steve Heffernan
af4edc3b76
Updated forEach object example to include the keys. [ci skip] [ closes #596 ]
...
The forEach object example is a little ambiguous where it says "logs each number", since both the key and value of the object are technically numbers. I've read it a few times now (skipping over the function description of course) and wanted it to be a little more obvious.
2014-06-28 23:33:15 -07:00
John-David Dalton
8a959896bf
Reduce code inbaseBind and baseCreateWrapper and optimize _.bind by adding createCtorWrapper.
2014-06-26 09:02:31 -07:00
John-David Dalton
d7de4a3579
Doc tweaks for _.curryRight and basePartial. [ci skip]
2014-06-26 09:00:56 -07:00
John-David Dalton
72fcb4ebda
Simplify baseCallback.
2014-06-26 09:00:56 -07:00
John-David Dalton
3a221f9b6e
Cleanup _.compose.
2014-06-26 09:00:55 -07:00
Graeme Yeates
1241fb54f3
Simplify _.*RightWhile loops
2014-06-26 09:00:55 -07:00
John-David Dalton
b291dcadc6
Add _.curryRight.
2014-06-26 09:00:55 -07:00
John-David Dalton
6b09cd61d2
Ensure _.keysIn treats primitives like objects and both _.keys and _.keysIn return empty arrays for null and undefined values.
2014-06-22 18:54:19 -07:00
John-David Dalton
7374f6dc4f
Simplify charsLeftIndex and charsRightIndex.
2014-06-22 16:38:23 -07:00
John-David Dalton
9577d80fc2
Simplify _.dropRightWhile, _.dropWhile, _.takeRightWhile, and _.takeWhile.
2014-06-22 16:38:23 -07:00
John-David Dalton
c550e27d21
Ensure _.omit and _.pick work with primitives.
2014-06-22 16:38:23 -07:00
John-David Dalton
423730da76
Make _.isFinite use ES6 Number.isFinite when available.
2014-06-22 16:38:23 -07:00
John-David Dalton
78a4c6f525
Minor whitespace nits. [ci skip]
2014-06-22 16:38:23 -07:00
John-David Dalton
2cae3245aa
Make make nullish check consistent in _.isEmpty.
2014-06-22 16:38:22 -07:00
John-David Dalton
e143a0ec6b
Make _.isFinite follow ES6 Number.isFinite.
2014-06-22 16:38:22 -07:00
John-David Dalton
a3049b6f94
Ensure _.compose returns a noop function when no arguments are provided.
2014-06-22 00:28:26 -07:00
John-David Dalton
f116db3108
Make categories singular.
2014-06-21 21:25:17 -07:00
John-David Dalton
d2de62283b
Rename callback params to iterator or customizer where appropriate.
2014-06-21 15:12:49 -07:00
John-David Dalton
11c16139c2
Avoid nullish being treated as plain objects in _.keysIn.
2014-06-21 15:12:49 -07:00
John-David Dalton
1c91ec69ba
Simplify _.isObject check in _.trunc.
2014-06-21 15:12:49 -07:00
John-David Dalton
73429e7779
Remove _.isObject use from _.omit and _.pick.
2014-06-21 15:12:48 -07:00
John-David Dalton
fe5aff0c72
More lodash cleanup.
2014-06-21 15:12:48 -07:00
John-David Dalton
e3b5395905
Remove falsey array check in baseFlatten.
2014-06-21 15:12:48 -07:00
John-David Dalton
3a25ecbbc9
Rework lodash.
2014-06-21 15:12:48 -07:00
John-David Dalton
7d63970293
Remove sorting from _.functions.
2014-06-21 15:12:48 -07:00
John-David Dalton
2f9cc91b64
Simplify _.initial.
2014-06-19 09:32:13 -07:00
John-David Dalton
36bcced355
Avoid sort() use in baseFunctions.
2014-06-19 09:32:12 -07:00
John-David Dalton
9a9b17d38d
Make _.chain use lodash instead of lodashWrapper.
2014-06-19 09:32:12 -07:00
John-David Dalton
e2cd275ac5
Remove the data param from _.template.
2014-06-19 09:32:12 -07:00
John-David Dalton
61eb5d906c
Doc tweaks to _.flatten and other methods. [ci skip]
2014-06-19 09:32:12 -07:00
John-David Dalton
a113dc0861
Remove overloading from _.first, _.last, _.initial, & _.rest.
2014-06-19 09:32:12 -07:00
John-David Dalton
6a164a235d
Add methods to the lodash wrapped/unwrapped chaining docs. [ci skip]
2014-06-19 09:32:12 -07:00
John-David Dalton
c1eaa90c2b
Move callback above constant.
2014-06-17 10:31:06 -07:00
John-David Dalton
00e00eb7b5
Doc tweaks for boolean params. [ci skip]
2014-06-17 09:16:09 -07:00
John-David Dalton
0d2db28908
Rename _.createCallback to _.callback.
2014-06-17 01:07:04 -07:00
John-David Dalton
20202b793b
Remove callback support from _.flatten and make it shallow by default.
2014-06-17 00:59:19 -07:00
John-David Dalton
73f6fd49d0
Align _.keys with ES6 and coerce primitives to objects.
2014-06-16 12:27:21 -07:00
John-David Dalton
4f9da35b76
Make _.max and _.min return unwrapped values when chaining.
2014-06-16 09:07:47 -07:00
John-David Dalton
1c770a3c66
Drop testing Node 0.6. and bump in name only to v3.0.0-pre.
2014-06-15 17:07:51 -07:00