John-David Dalton
|
b01d50fe05
|
Add _.support unit tests and remove _.support from the lodash underscore build.
Former-commit-id: 986c02d5363329f16cde720430b26edb6bc865f0
|
2013-03-08 00:53:27 -08:00 |
|
John-David Dalton
|
11ba02067e
|
Ensure _.times doesn't error when passed negative numbers.
Former-commit-id: 5d694743fbda0f477250fe3c90cf29168834ac6f
|
2013-03-07 09:05:27 -08:00 |
|
John-David Dalton
|
41e401b05e
|
Add callback and thisArg arguments to _.flatten. [closes #204]
Former-commit-id: 166d6af35c3905c87498ee74abd143f6fdba451d
|
2013-03-03 23:26:28 -08:00 |
|
John-David Dalton
|
9961ddc2a8
|
Ensure callback shorthands work with _.uniq. [\ht @jden, @motowilliams]
Former-commit-id: d9a0e688414edc4167b5f8e9ca123bab587f8264
|
2013-03-03 14:40:15 -08:00 |
|
John-David Dalton
|
8825a094ae
|
Use native Object.create when available, optimize the creation of lodash instances, and ensure methods like forEach return the existing wrapper object when chaining, instead of creating a new one.
Former-commit-id: fa9ec371ba23ce8c35c15a66dd9b1f09f183b3a9
|
2013-03-03 01:21:19 -08:00 |
|
John-David Dalton
|
aa49ce5c56
|
Tweak platform placement in test.js and runner.
Former-commit-id: a261884dfda6f046431007bef6d9fe109fb1d887
|
2013-03-02 20:48:42 -08:00 |
|
John-David Dalton
|
1bbd9e24b0
|
Fix and cleanup [[DontEnum]] unit test.
Former-commit-id: 9e47eeb03c88a52d2e1d6dd2c0373c2df2f576fe
|
2013-02-28 02:47:14 -08:00 |
|
John-David Dalton
|
999aae0a33
|
Add _.parseInt.
Former-commit-id: 0c0f10af3dc50a4d1b684523f19d02e423d738f5
|
2013-02-27 08:54:15 -08:00 |
|
John-David Dalton
|
b3c550b7c0
|
Make _.runInContext not require a fully populated context object.
Former-commit-id: 11bf3cad2bfd3e922e7701eb7b0f48028f522ba6
|
2013-02-27 01:03:45 -08:00 |
|
John-David Dalton
|
5b27ae0371
|
Cleanup comments in various source files.
Former-commit-id: 02e8223692e4678e78a0eadc4ffaed3e27b5a49f
|
2013-02-24 22:50:10 -08:00 |
|
John-David Dalton
|
9b22748bd0
|
Cleanup perf/perf.js and test/test.js.
Former-commit-id: fba43c75aa25227e771a3cdd0cce0ee8ee9cdba6
|
2013-02-24 15:25:56 -08:00 |
|
John-David Dalton
|
f6e724c4c5
|
Update build to work with _.runInContext.
Former-commit-id: da4a9da0e2c74bbcbd142c077794486d0ac45835
|
2013-02-21 08:39:25 -08:00 |
|
John-David Dalton
|
5133e39d45
|
Make _.defer use setImmediate if available.
Former-commit-id: b3898d78725a4b203856916b1b071ab9c6f40b83
|
2013-02-17 14:29:40 -08:00 |
|
John-David Dalton
|
cb3b4e446e
|
Ensure _.isEqual returns boolean values even if callback doesn't.
Former-commit-id: b2c31ee1711a436e5400c8e80c9f54a9680301b7
|
2013-02-17 10:41:05 -08:00 |
|
John-David Dalton
|
2a2bc44f43
|
Make _.where search arrays for values.
Former-commit-id: b942c6a44680c78fae1a41f2cf994be09ffcfbb9
|
2013-02-16 00:39:45 -08:00 |
|
John-David Dalton
|
02687f3c78
|
Ensure the second argument passed to _.assign is not treated as a callback. [closes #184]
Former-commit-id: 1254e11ab02d1d5055c08400cd0a4786ed71aef2
|
2013-02-15 08:11:19 -08:00 |
|
John-David Dalton
|
1090228628
|
Add _.groupBy test for passing numbers for the callback argument.
Former-commit-id: 6ce29f81f8688495a8a756e464b32e9e825c7857
|
2013-02-13 19:54:39 -08:00 |
|
John-David Dalton
|
f2b350eb62
|
Change _.defaults to not overwrite null values.
Former-commit-id: 4a85aefc3eaf2180fb0e8cd0f6efb1524a9d7caa
|
2013-02-13 01:51:15 -08:00 |
|
John-David Dalton
|
a3464780a1
|
Add "customization callback" support to _.assign.
Former-commit-id: 5f0c7b72942ba0c40960072b11936f0683909043
|
2013-02-13 01:17:51 -08:00 |
|
John-David Dalton
|
fe1eb92196
|
Ensure _.first, _.initial, _.last, and _.rest work with string and objects for callback.
Former-commit-id: f587a5d11164c1c6fa050feccfb05956fd82a0d0
|
2013-02-12 08:45:10 -08:00 |
|
John-David Dalton
|
0b2d26ec92
|
Simplify AMD checks in test/test.js.
Former-commit-id: db2f72020e6171f30770c7ecc7caf1619b78ac88
|
2013-02-12 00:33:09 -08:00 |
|
John-David Dalton
|
9ecbcd0075
|
Update vendor/qunit-clib and tests to work with Ringo 0.9 and PhantomJS.
Former-commit-id: e6906e4b9f6afdee598902d6939356bf33302909
|
2013-02-10 23:42:09 -08:00 |
|
John-David Dalton
|
77804907b6
|
Make whereIndicator check strict and make the _.where deep object comparison unit test deeper.
Former-commit-id: b9c59ff56b3ab7acd519888407de5dd02d6475cf
|
2013-02-09 10:10:36 -08:00 |
|
John-David Dalton
|
8ffb3ab3c4
|
Simplify _.unescape unit test.
Former-commit-id: 113ee8e94a5a6a7d72b4e39672c60d67342def49
|
2013-02-08 19:04:02 -08:00 |
|
Timmy Willison
|
ce0441694d
|
Escape single quote with numerical html character code rather than hex.
Former-commit-id: aef76d2662a065affc21ff735de526a177b50546
|
2013-02-08 14:54:12 -05:00 |
|
John-David Dalton
|
d28036ee91
|
Add another _.size string value unit test.
Former-commit-id: 01c3bc51259c04a04f07d0e60398a0b2aa781641
|
2013-02-06 08:42:22 -08:00 |
|
John-David Dalton
|
d87929d61c
|
Remove "use strict" directive from the "modern" builds.
Former-commit-id: 7d1d5dd8cb91deb51fbdf7cfda04f3e49c96c204
|
2013-02-04 23:55:38 -08:00 |
|
John-David Dalton
|
a926829c33
|
Add _.bindAll unit test for passing just object.
Former-commit-id: 62f90c1dc7429610fb4bfaec3c5bb64d5a63dc9e
|
2013-02-04 08:36:15 -08:00 |
|
John-David Dalton
|
f87b4e04f1
|
Update test configs and move builds.
Former-commit-id: dc14112821f14101f107f90e9aeb5abec55b18a6
|
2013-02-02 19:33:29 -08:00 |
|
John-David Dalton
|
b296e1b340
|
Add _.isNumber unit test for Firefox [xpconnect wrapped native prototype] issues.
Former-commit-id: d81b0bb7807139d14796c2a952294d1fd581f73a
|
2013-02-01 01:25:10 -08:00 |
|
John-David Dalton
|
c3b984fea7
|
Make callback behavior consistent for _.clone, _.cloneDeep, _.isEqual, and _.merge and add more doc examples.
Former-commit-id: 7a53ea18e4512dfcab5649c937db0f90d7649373
|
2013-01-31 00:28:47 -08:00 |
|
John-David Dalton
|
812b848daf
|
Update tests to work with QUnit v1.11.0.
Former-commit-id: ce6d6fb1756eb606e8106ac7e93816dffb48624e
|
2013-01-30 00:38:31 -08:00 |
|
John-David Dalton
|
4907a7389f
|
Fix test.js for browsers.
Former-commit-id: e334ab595fa78a59b8371b755ce8dc54706a6630
|
2013-01-29 22:59:09 -08:00 |
|
John-David Dalton
|
ac4c075d32
|
Add support for loading different Lo-Dash builds in test.js for Narwhal, Rhino, and Ringo.
Former-commit-id: 936b2f246540b2456c78a6087266ba9d39f48f91
|
2013-01-28 23:31:52 -08:00 |
|
John-David Dalton
|
ddde64ece9
|
Add lodash.min.js support to test.js.
Former-commit-id: c5c6cc47631752862c8f7b3b0f3d7b004493c01b
|
2013-01-28 21:12:06 -08:00 |
|
John-David Dalton
|
91c097e88d
|
Cleanup unit tests and tests for _.clone, _.cloneDeep, and _.isEqual support of callback and thisArg arguments.
Former-commit-id: a53b5f4295cfc3e2f06ebed878c7c876acd64e6a
|
2013-01-27 23:34:18 -08:00 |
|
John-David Dalton
|
cf13eca58c
|
Cleanup deep _.clone and _.where unit tests.
Former-commit-id: b7106461640259ca3bf60c1fabb91b59b241e35f
|
2013-01-27 02:39:18 -08:00 |
|
John-David Dalton
|
23c3ba6ad7
|
Ensure _.where works correctly for nested properties and give indicator arguments more meaningful names.
Former-commit-id: c35e2817125cd852a66066ccdef44bcc40c93e61
|
2013-01-26 23:47:47 -08:00 |
|
John-David Dalton
|
641b6efe7f
|
Remove auto with statement removal optimization from _.template. [closes #166]
Former-commit-id: da27942b109844d44327914631b7c5681489b04b
|
2013-01-24 01:14:07 -08:00 |
|
John-David Dalton
|
e41b181163
|
Ensure _.where deep compares properties values.
Former-commit-id: f3f29abf024f87a947fef6df1e3db9d9d1de99bf
|
2013-01-22 23:54:09 -08:00 |
|
John-David Dalton
|
a457675ce1
|
Move deep _.defaults implementation unit test to _.partialRight.
Former-commit-id: 7e5c6184d24b47170ef148122ef5c7428f8b2da9
|
2013-01-20 12:09:44 -08:00 |
|
John-David Dalton
|
873cc63f94
|
Add _.partialRight and make _.assign and _.defaults work with arrays.
Former-commit-id: 6d9fea855de53e9ccb5ac6f58db68239ef08e9de
|
2013-01-19 22:17:14 -08:00 |
|
John-David Dalton
|
c9bec8e636
|
Fix typo in _.merge unit test.
Former-commit-id: 15b2389bca12cb1655a07a51525624f7af9caa6c
|
2013-01-16 23:22:07 -08:00 |
|
John-David Dalton
|
ab83f2d5e2
|
Ensure _.first and _.last have the correct chaining behavior when passing a callback and thisArg.
Former-commit-id: 4d54fd677fa48bf8de033696c58ee66babd77a81
|
2013-01-16 01:39:58 -08:00 |
|
John-David Dalton
|
b60d0cdb17
|
Added support for _.merge to accept callback and thisArg arguments. [closes #154]
Former-commit-id: 5d641ae4ba1d120d776a895f8bc9b8c1a7def0b6
|
2013-01-16 01:11:39 -08:00 |
|
John-David Dalton
|
16a204335e
|
Ensure _.merge produces dense arrays and revert accepting arrays of arguments for _.compose, _.defaults, _.extend, and _.merge.
Former-commit-id: a02772f8be04e187cbbfeb324cd4fb4318098162
|
2013-01-15 01:32:21 -08:00 |
|
John-David Dalton
|
6ba4778c1b
|
Make methods capable of accepting unlimited arguments consistently accept either individual arguments or arrays of arguments.
Former-commit-id: b9f0c744f79e74889323f4fd7f737d10acd32ada
|
2013-01-14 01:11:46 -08:00 |
|
John-David Dalton
|
0404c2266c
|
Use strictEqual when the expected result is 0 or 1.
Former-commit-id: ff439b0e7252351663b754267056ad09e0f89838
|
2013-01-13 15:12:02 -08:00 |
|
John-David Dalton
|
e5e914282f
|
Allow _.first, _.last, _.initial, and _.rest to accept callback and thisArg arguments. [closes #155]
Former-commit-id: b921ae0ccc188c5544480f397216ce3b2479989e
|
2013-01-13 14:58:53 -08:00 |
|
John-David Dalton
|
9867d4bdc3
|
Add unit test for passing an object as callback to _.find.
Former-commit-id: 36da6e95473e85ac799180618e1a546d87f0686f
|
2013-01-12 20:42:54 -08:00 |
|