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
John-David Dalton
5b7b16416b
Fix _.zip use with arguments objects.
2014-06-15 13:46:08 -07:00
John-David Dalton
04b93aeaf2
Make object check style consistent.
2014-06-15 11:45:04 -07:00
John-David Dalton
39bdd37615
Correct the resolution of length in _.zip.
2014-06-15 11:45:04 -07:00
John-David Dalton
4ccb3810c2
Make nullish check consistent in variations of _.matches returned function.
2014-06-14 23:21:58 -07:00
John-David Dalton
1065ebb0aa
Simplify baseFlatten.
2014-06-14 10:23:26 -07:00
John-David Dalton
74c08de530
Cleanup nonEnumProps assignment.
2014-06-14 10:19:16 -07:00
John-David Dalton
b195fdbf60
Optimize _.matches.
2014-06-13 23:54:33 -07:00
John-David Dalton
f68efe6674
Make _.partial and _.partialRight docs complement each other. [ci skip] [ closes #586 ]
2014-06-13 09:33:33 -07:00
John-David Dalton
50c6b276f9
Remove _.pluck use from _.zip.
2014-06-12 20:50:47 -07:00