John-David Dalton
|
1825dd916e
|
Fix unit tests and reduce object/array references.
Former-commit-id: 25aaabd506cb4515cf833ebb104ba0146e4354dd
|
2012-10-23 22:16:53 -07:00 |
|
John-David Dalton
|
2f16f6dc23
|
Remove extraneous skipTest call from test.js.
Former-commit-id: 58f747ff8f8beee621038f7e06bfe3aa408f0b14
|
2012-10-22 20:27:45 -07:00 |
|
John-David Dalton
|
15f5b1f830
|
Ensure _.map rewrite handles objects with non-numeric length properties correctly.
Former-commit-id: 60a4f322dcd284db5bb8ad4d8d5138e52e14cce3
|
2012-10-22 01:56:50 -07:00 |
|
John-David Dalton
|
26aed3e89e
|
Reduce _.isFinite, _.sortedIndex, and _.map, tweak docs for _.unescape, and ensure rewritten _.map works for objects correctly.
Former-commit-id: 43c810538b500b55018d4cfb9812618671fae2c7
|
2012-10-21 11:37:10 -07:00 |
|
John-David Dalton
|
16748c0920
|
Cleanup lodash.js and ensure _.where returns an empty array when passed an empty properties object.
Former-commit-id: 34d1f8d967806d3c59895eff3a7d4d32262a46ea
|
2012-10-14 18:56:39 -07:00 |
|
John-David Dalton
|
4b95f07923
|
Simplify _.omit and _.pick for the lodash underscore build.
Former-commit-id: 9a42c964ce4003bde1b4ce55f0f851141dbc9bb6
|
2012-10-13 23:32:17 -07:00 |
|
John-David Dalton
|
58dc0b1aef
|
Remove unnecessary template unit test.
Former-commit-id: 42ea5be4168d4db818ec93a8f6c61c51905127c7
|
2012-10-11 22:14:05 -07:00 |
|
John-David Dalton
|
219138ade6
|
Bump to v0.8.2.
Former-commit-id: edbb9d995a63ec8fd5a3b1a47ccda7b30c353b35
|
2012-10-10 00:03:39 -07:00 |
|
John-David Dalton
|
fd790566b2
|
Ensure _.throttle clears the timeout when func is called. [closes #86]
Former-commit-id: 6f3b777aa247f059d97f965c02323d4ee6ab8464
|
2012-10-09 02:15:06 -07:00 |
|
John-David Dalton
|
d174b13111
|
Add object iteration unit tests for _.max, _.min, _.shuffle.
Former-commit-id: 45129100fbbfa14610cacb055c1fa393ae6ce153
|
2012-10-09 00:59:55 -07:00 |
|
John-David Dalton
|
1708663b32
|
Move _.max, _.min, _.shuffle back to "Collections" methods for compat but still optimized for arrays.
Former-commit-id: 28cd9298915ad123445400a5d061ac8e9432eb6b
|
2012-10-09 00:48:02 -07:00 |
|
John-David Dalton
|
0a1036c78f
|
Add unit tests to check "Collections" methods return values.
Former-commit-id: 6ac6cd97414035f74a102a51e913099e744d9a93
|
2012-10-07 18:18:20 -07:00 |
|
John-David Dalton
|
6e9cbccde6
|
Bump to v0.8.1.
Former-commit-id: 1b63f03d4a7ca0cdc66e44cd987fddecaf88f9ce
|
2012-10-04 01:40:17 -07:00 |
|
John-David Dalton
|
21217dfda3
|
Reduce createIterator.
Former-commit-id: 8c27ca8e4d1f71b2727dd988bc62194510a850dc
|
2012-10-04 00:02:43 -07:00 |
|
John-David Dalton
|
a210377f35
|
Add unit tests for passing falsey values to _.initial and _.rest.
Former-commit-id: 9d5d4960c175a3dd90af977b605ce309bc6446d3
|
2012-10-03 20:12:03 -07:00 |
|
John-David Dalton
|
01b84c79f0
|
Revert removing falsey guards.
Former-commit-id: b5eeb5d4a0896eb030f20e7e91e54bf101535abc
|
2012-10-03 09:08:51 -07:00 |
|
John-David Dalton
|
4bae41ffd8
|
Use a better strict mode detect for tests.js so older versions of Node.js pass.
Former-commit-id: fd9f6ea35c71a8183ce0dcf4a6ec6e6afe13c39e
|
2012-09-30 21:45:50 -07:00 |
|
John-David Dalton
|
bc0b924283
|
Reorganize tests.
Former-commit-id: 5293cdc1206af20824e8aec86b892afd4badf639
|
2012-09-29 16:42:13 -07:00 |
|
John-David Dalton
|
7036ed5e2f
|
Remove falsey checks and reduce file size.
Former-commit-id: 5263a0beaffe2a987eb65fd3631ea4aff8d9f000
|
2012-09-28 00:46:57 -07:00 |
|
John-David Dalton
|
04459eaa50
|
Remove internal skipArgsCheck from _.isPlainObject and add unit tests.
Former-commit-id: 213c1e95f61368eb8912850248a97f44664384d8
|
2012-09-25 09:05:09 -07:00 |
|
John-David Dalton
|
1ca26ce676
|
Ensure methods accepting a thisArg argument allow null values.
Former-commit-id: 368b943687291f0d7ed02304284ac076ef86e02b
|
2012-09-22 15:39:37 -07:00 |
|
John-David Dalton
|
6499643769
|
Make _.random return 0 or 1 when no arguments are passed.
Former-commit-id: 7d20f5240d534f0091757f613c664b08e0d45759
|
2012-09-18 20:29:36 -07:00 |
|
John-David Dalton
|
483bc9ad87
|
Add unit test to confirm correctly parsing delimiters.
Former-commit-id: 71aa7a240d2becb8082e36f9aa4874eb0aed09d3
|
2012-09-17 23:49:03 -07:00 |
|
John-David Dalton
|
93b89a93c1
|
Make _.times return an array of the results of each callback execution. [Closes #73]
Former-commit-id: 808af6b9eb07bf1fada8221ca659558d82e6eb57
|
2012-09-17 21:48:26 -07:00 |
|
John-David Dalton
|
0e387d2cda
|
Remove custom toArray checks in _.toArray and simplify array-like object checks in "Collections" methods.
Former-commit-id: 6b7678de16907f44c1b079a22a6a2e091a638d4b
|
2012-09-15 08:46:49 -07:00 |
|
John-David Dalton
|
08249d78ea
|
Add RequireJS "shim" test and a build test to ensure the AMD snippet is maintained for r.js.
Former-commit-id: 708c07877cfca0022d6d56c16c36d8bae79e4796
|
2012-09-13 19:11:48 -07:00 |
|
John-David Dalton
|
c0d7dbf639
|
Reduce code around _.bind and _.partial, and add _.lateBind.
Former-commit-id: 4c962d066ecfa54882cee2216a7310ab34b3b5a3
|
2012-09-13 00:04:00 -07:00 |
|
John-David Dalton
|
569caa0bf2
|
Remove custom isEqual checks from _.isEqual and custom clone checks from _.clone and simply _.clone, _.isEqual, and _.merge.
Former-commit-id: 45e90ab1494e46e281265f660c87e27f59581308
|
2012-09-12 22:00:23 -07:00 |
|
John-David Dalton
|
cad8473986
|
Re-add overwritten _.isEqual unit test.
Former-commit-id: 52d4e3bc02a6fd0ac30177c9da82dec60ee6eb81
|
2012-09-10 23:41:20 -07:00 |
|
John-David Dalton
|
c30bcdd515
|
Ensure _.isEqual matches values with circular references correctly.
Former-commit-id: 07968aeb430f56c32aab22dfda919706da840680
|
2012-09-09 11:54:32 -07:00 |
|
John-David Dalton
|
2dc53223e5
|
Ensure _.template works with "interpolate" delimiters containing ternary operators. [closes #68]
Former-commit-id: 287df2ef5802ea6db743da5f211e480d6b0f85c9
|
2012-09-07 21:17:00 -07:00 |
|
John-David Dalton
|
958ac72805
|
Ensure the internal stack argument of _.merge doesn't pave the 4th argument passed to it. [closes #69]
Former-commit-id: b33e1cb7795294b9481e2c9c6888d0f37419208d
|
2012-09-07 21:09:21 -07:00 |
|
John-David Dalton
|
9a7d9e7bb8
|
Ensure _.sortBy is stable for undefined values.
Former-commit-id: bf250150d27de050ea7a6fa376aacdc8d1ba7716
|
2012-09-06 22:35:20 -07:00 |
|
John-David Dalton
|
102d6d8c84
|
Capture the result of the last func call in _.throttle and _.debounce.
Former-commit-id: 2e783fad2e86824bf098bdb24ca6911317576f32
|
2012-09-06 20:49:06 -07:00 |
|
John-David Dalton
|
13b1fc6b44
|
Remove an unneeded _.object unit test.
Former-commit-id: 2334bda13fbd9bd683b3f650ff47f1a676139319
|
2012-09-06 00:38:22 -07:00 |
|
John-David Dalton
|
ffdd79f86b
|
Adjust how _.template handles compiled syntax errors for compatibility with Underscore.
Former-commit-id: ba84c5b468938a1be1a1fd0afd31cb83f563e1ca
|
2012-09-03 16:05:47 -07:00 |
|
John-David Dalton
|
f3bec4fc37
|
Ensure optimized isPlainObject works with objects from other documents.
Former-commit-id: 2f782b3dfc19e7ea3274132c31cd408ee2387021
|
2012-09-02 02:35:02 -07:00 |
|
John-David Dalton
|
ce5ae1dfdd
|
Simplify _.size.
Former-commit-id: a7d3338cbd5784ec6b9b6a25e18acd9507f4b21c
|
2012-08-31 17:58:34 -07:00 |
|
John-David Dalton
|
2b0bffc362
|
Ensure template delimiters are tokenized correctly. [closes #64]
Former-commit-id: 814f3f8a840a70a9b455e5f91da0e21174f08787
|
2012-08-31 13:50:10 -07:00 |
|
John-David Dalton
|
a7e3136a0b
|
Add _.random.
Former-commit-id: cf720b9187b0b54b43773a9f5f02fb475d786bfa
|
2012-08-31 13:33:44 -07:00 |
|
John-David Dalton
|
e060d29337
|
Rename _.drop and _.zipObject unit tests.
Former-commit-id: d68abda2400244b7801eac9ad90de88b2f99a1f4
|
2012-08-31 12:59:18 -07:00 |
|
John-David Dalton
|
11cd9905c4
|
Bump to v0.6.0.
Former-commit-id: 7339c27ba63208f23d94ae4a29dec53a43220bad
|
2012-08-28 01:47:22 -07:00 |
|
John-David Dalton
|
b63f25a1ae
|
Simplify _.unescape to match the behavior of _.escape.
Former-commit-id: ec7f4cf9a6f44b1ba99f467c47d7e04d5596d76e
|
2012-08-27 07:54:03 -07:00 |
|
John-David Dalton
|
8c911a2fd0
|
Add _.unescape method. [closes #63]
Former-commit-id: 10eada385fd0e1157271a2da6fb32de047d6d88a
|
2012-08-27 02:05:37 -07:00 |
|
John-David Dalton
|
4bdf28059a
|
Cleanup unit tests, update minified build, and docs.
Former-commit-id: 5bca51894bf2fb01732a1ecc5873711d8abf3f9c
|
2012-08-26 03:09:19 -07:00 |
|
John-David Dalton
|
21010c6540
|
Add callback and thisArg arguments to _.drop and _.pick. [closes #62]
Former-commit-id: 990655e9e849348c287b3d994d2e2dc741f78fbf
|
2012-08-26 03:06:43 -07:00 |
|
John-David Dalton
|
f460c77f2c
|
Ensure _.reduce works with string Objects in IE < 9.
Former-commit-id: 0ee3496e52f4c393900f37f03e451b8e4abba206
|
2012-08-26 01:04:09 -07:00 |
|
John-David Dalton
|
c7f290f42e
|
Cleanup unit tests and update ticket reference in README.md.
Former-commit-id: c2433e841c20eb17334d375deabcf0605ed49a3b
|
2012-08-25 01:00:19 -07:00 |
|
John-David Dalton
|
cc150ff9d2
|
Cleanup test.js and README.md.
Former-commit-id: af3372f58ecf8d979d22c88193589857c06ff7c1
|
2012-08-21 02:31:40 -07:00 |
|
John-David Dalton
|
387cc184e6
|
Keep test count consistent for Node.js.
Former-commit-id: ca0452ff4511c946946a2208b44471b1e2c6fc43
|
2012-08-21 01:31:54 -07:00 |
|