John-David Dalton
1b9dbd0e62
Tweak docs and var names of at, baseAt, and zipObject.
2014-07-09 00:51:16 -07:00
John-David Dalton
225c8871f9
Avoid changes to object affecting the result of a match function.
2014-07-08 09:45:31 -07:00
John-David Dalton
d0333134d5
Add more _.uniq and _.matches tests.
2014-07-08 09:11:14 -07:00
John-David Dalton
b24b8315d3
Fix _.shuffle on small collections. [ closes #609 ]
2014-07-08 08:28:50 -07:00
John-David Dalton
4ddc3b518b
Optimize _.shuffle.
2014-07-08 00:40:00 -07:00
John-David Dalton
479a7e441d
Use _.isError in _.attempt docs and _.template.
2014-07-07 20:09:30 -07:00
John-David Dalton
af5ae8d656
Move some _.where tests to _.matches.
2014-07-07 12:15:44 -07:00
John-David Dalton
1365882de4
Simplify test condition.
2014-07-07 07:53:33 -07:00
John-David Dalton
7854cd1f94
Avoid fails for workers when testing in Sauce Labs.
2014-07-07 07:53:06 -07:00
John-David Dalton
12a1a14527
Fix tests in old IE.
2014-07-07 07:48:40 -07:00
John-David Dalton
a71cc552c9
Avoid test path for non node/phantom.
2014-07-07 01:51:48 -07:00
John-David Dalton
e42d091502
Change case of constants in test/test.js.
2014-07-07 01:40:55 -07:00
John-David Dalton
d89d5befa0
Add lodashBizarro tests for cloning typed arrays.
2014-07-06 17:05:37 -07:00
John-David Dalton
92e5ae29c9
Add FLOAT64_BYTES_PER_ELEMENT for easier test mocking.
2014-07-06 08:24:58 -05:00
John-David Dalton
65aeb97e3e
Increate code coverage for AMD build of the root module.
2014-07-06 08:08:08 -05:00
John-David Dalton
08a9ef1072
Fix test fail in older Firefoxes.
2014-07-05 13:44:07 -05:00
John-David Dalton
9c3f297e97
Rebuild dist.
2014-07-05 11:51:51 -05:00
John-David Dalton
2554871c64
Move _.template comment on .source. [ci skip]
2014-07-05 11:51:05 -05:00
John-David Dalton
404edebdff
Cleanup unwrapped chaining tests and add a chaining test for _.attempt.
2014-07-05 07:39:31 -05:00
John-David Dalton
2f2030babf
Add _.attempt.
2014-07-05 07:23:54 -05:00
John-David Dalton
b560b35175
Remove test which will now lock up _.times.
2014-07-04 23:12:50 -05:00
John-David Dalton
3063b19e1d
Replace "shortcut" with "reference" in code comments. [ci skip]
2014-07-04 15:38:34 -05:00
John-David Dalton
a17fb54c37
Avoid >>> use.
2014-07-04 15:36:32 -05:00
John-David Dalton
c1b8a8594d
Bump tested browser versions in test/saucelabs.js.
2014-07-03 12:33:02 -07:00
John-David Dalton
0a7fc6c48c
Cleanup error object fork in baseIsEqual.
2014-07-03 12:26:47 -07:00
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