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
0117341b7e
Fix _.template and _.flatten use in perf/perf.js.
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
ba5107e801
Add unit tests for _.curryRight.
2014-06-26 09:00:56 -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
175b14860e
Update Benchmark.js to be compatible with v3.0.0-pre.
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
4105b19f75
Drop Narwhal from test/run-test.sh and contributing text. [ci skip]
2014-06-26 09:00:55 -07:00
John-David Dalton
b7b8ad7760
Updated tested Node version in readme. [ci skip]
2014-06-26 09:00:55 -07:00
John-David Dalton
8465e3061a
Cleanup error messages for jobs that fail to start .
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
aac609cc38
Avoid test fails in IE 9.
2014-06-22 18:54:19 -07:00
John-David Dalton
0b1d16f9db
Excuse _.isFinite tests in test/underscore.html.
2014-06-22 16:56:18 -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
0d3ac21ae0
Fix test in IE.
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
35ce087f3b
Use Object(...) instead of new String, new Boolean, and new Number.
2014-06-22 16:38:22 -07:00
John-David Dalton
e787bc8ae4
Add semicolons.
2014-06-22 16:38:22 -07:00
John-David Dalton
4937052475
Minor test cleanup.
2014-06-22 00:28:58 -07:00
John-David Dalton
739eb67bec
Add _.isError to host object test.
2014-06-22 00:28:58 -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
2f1346fefa
Add more _.noop use in test.js.
2014-06-22 00:27:47 -07:00
John-David Dalton
f116db3108
Make categories singular.
2014-06-21 21:25:17 -07:00
John-David Dalton
87a8780cca
Fix failing tests in older IE related to iteration order.
2014-06-21 15:12:49 -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
c36d29a896
Minor nit in readme. [ci skip]
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
ee267d23ba
Correct _.template use in saucelabs.js.
2014-06-21 15:12:48 -07:00
John-David Dalton
e0e4eed26b
Adjust unit tests.
2014-06-19 09:32:13 -07:00
John-David Dalton
5b280bd60d
Add excused tests for _.first, _.initial, _.last, _.rest, and _.template.
2014-06-19 09:32:13 -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