John-David Dalton
79d59ff9ca
Add more docs for metadata.
2014-07-03 09:50:46 -07:00
John-David Dalton
c7d3c78e72
Make _.unzip its own method.
2014-07-03 09:46:39 -07:00
John-David Dalton
d56322a032
Consistent use of undefined with .apply instead of null.
2014-07-02 22:26:09 -07:00
John-David Dalton
aac3c4d5c7
Minor style nits.
2014-07-02 18:20:36 -07:00
John-David Dalton
9ba1ddc2dd
Cleanup _.isEqual and make _.where of an empty array match all arrays similar to empty objects matching all objects.
2014-07-02 10:36:42 -07:00
John-David Dalton
61eeaa0496
Minor cleanup.
2014-07-02 09:12:05 -07:00
John-David Dalton
d3b6f9975c
Add @type to help the Underscore build method alternatives. [ci skip]
2014-07-01 21:22:52 -07:00
John-David Dalton
5200c8d659
Remove unneeded n validation from _.before.
2014-07-01 12:21:11 -07:00
John-David Dalton
e2c6f57859
Minor test cleanup.
2014-07-01 11:58:09 -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
bf2c1a2df2
Fix binary search benchmarks. [ci skip]
2014-06-30 12:59:18 -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
212282e77c
Rebuild dist.
2014-06-29 01:25:31 -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
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