John-David Dalton
|
b4b9910203
|
Add unit tests for createBound and _.createCallback additions.
Former-commit-id: 68ad27523352a7e7b70f026588342fb70318454b
|
2013-07-21 23:44:38 -07:00 |
|
John-David Dalton
|
afeeadd665
|
Tweak times in _.debounce and _.throttle unit tests.
Former-commit-id: d079ee2258151e126fd1c40efb9c01ee888170aa
|
2013-07-21 15:50:50 -07:00 |
|
John-David Dalton
|
65227f601e
|
Rename basicXYZ functions to baseXYZ, extract _.clone, _.merge, _.isEqual functions into their own baseXYZ functions, and rework createBound to flatten multiple calls.
Former-commit-id: 8efa6004d747103e9ec6507755fa6ffceb01b16f
|
2013-07-21 15:24:44 -07:00 |
|
John-David Dalton
|
2b2c8e6b82
|
Ensure _.zipObject skips falsey elements in a given two dimensional array.
Former-commit-id: 31ce7e65aee98cbed477276ae9115b33fd10c6ea
|
2013-07-18 09:09:46 -07:00 |
|
John-David Dalton
|
bb49b0c16a
|
Allow _.mixin to accept a destination object as well as a source object.
Former-commit-id: 11ccb77653f017270c07579f59d75b847d4e6c65
|
2013-07-18 08:12:14 -07:00 |
|
John-David Dalton
|
51e2f8e49b
|
Add unit tests to ensure methods accept falsey arguments and arguments objects.
Former-commit-id: 72dac914c33ad2270deeeffb01c94e5dd00662c6
|
2013-07-13 16:37:53 -07:00 |
|
John-David Dalton
|
36488fd836
|
Simplify _.zip for the underscore build.
Former-commit-id: 18560e78f052fad5c5d7af1ef6571dd31accf690
|
2013-07-08 08:29:18 -07:00 |
|
John-David Dalton
|
ee01c944b4
|
Move phantom checks in test.'s to the document variable assignment.
Former-commit-id: 04a4c99398401d1d69236daa5eb0290db23a07d2
|
2013-07-08 08:07:40 -07:00 |
|
John-David Dalton
|
d7f4f392d2
|
Fix avoid hang in web worker unit test for phantomjs.
Former-commit-id: 22b4e7c99f9b0eb3cf7c250144bb375aeb9352e8
|
2013-07-08 01:16:01 -07:00 |
|
John-David Dalton
|
839f345fa3
|
Cleanup web worker unit test.
Former-commit-id: a6b2f450f26eba8cb233cceb5920e7ee69c665f1
|
2013-07-08 00:03:53 -07:00 |
|
John-David Dalton
|
eb6b5755e7
|
Add web worker unit test. [closes #313]
Former-commit-id: 77d0b907a5ae58ff3f4da8b54196b12949a4efd4
|
2013-07-07 23:24:17 -07:00 |
|
John-David Dalton
|
30d0fbeae6
|
Make modularized builds work in the unit test.
Former-commit-id: 2d56960e70a2f8c16087cc88c66008e766ea8338
|
2013-07-07 17:09:47 -07:00 |
|
John-David Dalton
|
9b21656314
|
Allow switching the module loader in the unit tests.
Former-commit-id: 8521e92925cbca8ff73adf3f1a350caa662e27f7
|
2013-07-07 16:24:26 -07:00 |
|
John-David Dalton
|
d2fffe5b88
|
Make _.unzip and alias of _.zip.
Former-commit-id: fca00001ad850c250f9883572c4dce7b41dde88d
|
2013-07-07 15:11:19 -07:00 |
|
John-David Dalton
|
6a73b0820e
|
Ensure _.flatten will flatten arguments objects.
Former-commit-id: 9ea8e40ff85b217a6497c9bbf91c9640211d9477
|
2013-07-06 13:48:27 -07:00 |
|
John-David Dalton
|
54a2a0da48
|
Use _.difference instead of _.without.apply(_, …) in test and build files.
Former-commit-id: 5646e8c3e895ea0662df81e7c77e70cdfe2c3a6d
|
2013-06-23 22:34:05 -07:00 |
|
John-David Dalton
|
178d9fb8d5
|
Cleanup _.random unit test.
Former-commit-id: adc32aa17c4375446f180cf6f9daff2eb13b841e
|
2013-06-12 08:00:33 -07:00 |
|
John-David Dalton
|
ef66650997
|
Ensure maxWait tests pass in Ringo.
Former-commit-id: 57f4142caab308b2df0c0403cfac15cd240c0538
|
2013-06-12 07:47:53 -07:00 |
|
John-David Dalton
|
1933a76631
|
Add maxWait option to _.debounce and implement _.throttle by way of _.debounce. [closes #285]
Former-commit-id: 63b41aac298e5fa89f7922e84b2ed0d5c6545bd3
|
2013-06-10 11:16:14 -07:00 |
|
John-David Dalton
|
a46ef8d1a6
|
When chaining, _.max and _.min should resolve the correct value when passed an array containing only one value. [closes #292]
Former-commit-id: 79c71c1851a73c23919a28aadd56490ded91166c
|
2013-06-06 09:07:14 -07:00 |
|
John-David Dalton
|
9dd8f62c8a
|
Make Error.prototype unit tests pass in Firefox.
Former-commit-id: 1ff097e7947ba206bc58fe0c319bf36bb64b5387
|
2013-05-29 09:05:21 -05:00 |
|
John-David Dalton
|
e9387d322c
|
Disable use of basicIndexOf optimization if _.indexOf is customized.
Former-commit-id: 5b2273b36934581e34c6f6042de95bf556c61ca2
|
2013-05-26 22:46:52 -07:00 |
|
John-David Dalton
|
d28cc15be2
|
Ensure _.isPlainObject returns true for empty objects in older browsers. [closes #283]
Former-commit-id: d01d32b1cbd87d08bc8014d07eaa1842e3118a40
|
2013-05-25 01:08:08 -07:00 |
|
John-David Dalton
|
10626904af
|
Add _.transform unit tests.
Former-commit-id: 34e844950f5c003eeeaf2daea7a5ef6247fbfdab
|
2013-05-19 10:57:50 -07:00 |
|
John-David Dalton
|
ee1933389a
|
Add _.chain tests and ensure they pass.
Former-commit-id: e365b65da8a740383c975c7b904ad2156d1cc8ab
|
2013-05-14 22:48:34 -07:00 |
|
John-David Dalton
|
4b3009a195
|
Ensure _.clone, _.flatten, and _.uniq can be used as a callback for methods like _.map. [closes #270]
Former-commit-id: fb62b5bbdad844cb04c3259c323e27fb81932809
|
2013-05-14 00:50:57 -07:00 |
|
John-David Dalton
|
b72b0d60cb
|
Add support for floating point numbers to _.random. [closes #263]
Former-commit-id: ef356bb180b163fc936ef69ac2ef33186983eaa7
|
2013-05-12 15:48:01 -07:00 |
|
John-David Dalton
|
9bd0c01702
|
Expose memoized function's cache. [closes #265]
Former-commit-id: fc44676386854ec9d5fd7a4fac8583508d63949f
|
2013-05-10 23:22:04 -07:00 |
|
John-David Dalton
|
6d86b3a950
|
Add _.has unit test.
Former-commit-id: 3334651f8d29e6aa006184846b128acd006157ef
|
2013-05-10 22:57:08 -07:00 |
|
John-David Dalton
|
e0cf4e644b
|
Add more _.forIn iteration tests and prep support for Error object iteration.
Former-commit-id: 3676681717d0648c9f96570a4952f7c35e6a9bec
|
2013-05-07 01:38:13 -07:00 |
|
John-David Dalton
|
bdac8974d8
|
Realign _.assign and _.defaults with ES6 Object.assign. [closes #259]
Former-commit-id: e8c89e4a130ed286ce07e1a2e848f50b182effae
|
2013-05-03 08:33:51 -07:00 |
|
John-David Dalton
|
e773efdc59
|
Ensure _.debounce with leading and trailing will call the func on the leading edge after a trailing call is performed. [closes #257]
Former-commit-id: 97afe842b2b4c3eb20c9557298e01ec268386ea2
|
2013-05-01 09:03:52 -07:00 |
|
John-David Dalton
|
70761cf1d9
|
Avoid false test fails in isType unit tests.
Former-commit-id: b7311a8c3844000efab5d56d3632b99f0bf16ce8
|
2013-04-28 19:28:40 -07:00 |
|
John-David Dalton
|
d6e269c7f6
|
Avoid special characters in the whitespace unit test.
Former-commit-id: 5344bbdb0cd96a3a7d275facc7160c1afa1e971e
|
2013-04-28 16:48:54 -07:00 |
|
John-David Dalton
|
e5d34890a9
|
Cleanup whitespace characters in strings and fix a whitespace bug in Closure Compiler.
Former-commit-id: d1ab43648f3084b7bcfbd471728b71cea48aa9be
|
2013-04-27 02:24:25 -07:00 |
|
John-David Dalton
|
183b2548cf
|
Document the radix argument of _.parseInt and ensure it ignores leading whitespace. [closes #254]
Former-commit-id: b1d0f7688402b3f41cfb030c63dcd097ba3f4e68
|
2013-04-26 22:48:14 -07:00 |
|
John-David Dalton
|
0562228e9a
|
Ensure the modern build version of _.isPlainObject doesn't error when passed an object created via Object.create. [closes #248]
Former-commit-id: d24641ed2562925fbbd2b64653e8e93ab1aa02bc
|
2013-04-20 19:40:48 -07:00 |
|
John-David Dalton
|
a707c2fe8e
|
Ensure isType methods return false for subclassed values.
Former-commit-id: e300d12eb506c6ae4949bd37cf8eb33c3a4be2e1
|
2013-04-19 00:12:22 -07:00 |
|
John-David Dalton
|
2a92600fa7
|
Add _.throttle unit test to test lastCalled.
Former-commit-id: 528ebd3514aacafcde55fad989f955f1fe403811
|
2013-04-17 21:36:37 -07:00 |
|
John-David Dalton
|
e7c44274b0
|
Ensure _.debounce performs a trailing call, when both leading and trailing are true, only after the throttled function is called more than once. [closes #243]
Former-commit-id: 59ac6bc4ece373623f2bd753b662b8cc974cabc8
|
2013-04-17 08:43:18 -07:00 |
|
John-David Dalton
|
9f12552907
|
Add _.once unit tests.
Former-commit-id: cb79b4a5e73ec0cb7bae959693bb14599277ffe0
|
2013-04-09 20:23:58 -07:00 |
|
John-David Dalton
|
ad0c287053
|
Ensure _.merge passes the right arguments to the callback when comparing objects. [closes #231]
Former-commit-id: 7c1ff861f753d3a2bdf62a753c94df2052d03d78
|
2013-04-08 21:01:57 -07:00 |
|
John-David Dalton
|
1faa5a80e4
|
Add unit tests to ensure non-underscore builds may include _.chain and _.findWhere methods.
Former-commit-id: 91a4ea5114a45bc5038a37d7ff4ea4b6212182ca
|
2013-04-07 22:55:52 -07:00 |
|
John-David Dalton
|
43037c0ff9
|
Ensure "Arrays" and "Objects" methods work with arguments objects and arrays respectively.
Former-commit-id: aebb7a0004d804b7fd43d73e24d1da28c67f4059
|
2013-04-07 15:53:52 -07:00 |
|
John-David Dalton
|
4a03ba3874
|
Add more _.debounce and _.throttle tests.
Former-commit-id: db3cb30a8eac82850a056f85d0c363e752d10027
|
2013-04-05 22:14:44 -07:00 |
|
John-David Dalton
|
8f3eeefafd
|
Should ensure callback is a function in _.isEqual.
Former-commit-id: b53f8e0ab1bafff395ff19cd069940ba6c37eb5f
|
2013-04-05 08:59:09 -07:00 |
|
John-David Dalton
|
e76360c1b5
|
Add _.unzip. [closes #225]
Former-commit-id: 4b2c7fc068fd430f3d78de850a5f7670fd0e1a4e
|
2013-04-02 22:34:15 -07:00 |
|
John-David Dalton
|
b0d942d0ec
|
Ensure _.merge applies a given callback to nested properties. [closes #227]
Former-commit-id: 1a58c178e0ecb9c50512f221b4aed82762709066
|
2013-04-01 23:54:09 -07:00 |
|
John-David Dalton
|
6c25905ae4
|
Add keyPrefix to avoid issues with __proto__. [closes #226]
Former-commit-id: 55dee782acdd5e28229b1fcb7587424d3fdfd445
|
2013-04-01 22:32:50 -07:00 |
|
John-David Dalton
|
639c8d4171
|
Add _.forEach thisArg unit test to test.js.
Former-commit-id: b3d16d90789e76df778ac3457f68fdcbc3f6f4ad
|
2013-03-27 07:55:19 -07:00 |
|