John-David Dalton
1a17cbd26b
Cleanup the callback assignment in _.clone and _.cloneDeep.
2014-02-22 17:11:22 -08:00
John-David Dalton
c2b1d3b551
Add falsey value optimizations for baseDifference, baseFlatten, baseUniq, _.flatten, and _.uniq.
2014-02-22 17:10:34 -08:00
John-David Dalton
d4fac798fc
Optimize _.isEqual for primitives.
2014-02-22 17:08:28 -08:00
John-David Dalton
154e57748f
Cleanup low and high assignment in _.sortedIndex. [ci skip]
2014-02-21 23:42:40 -08:00
John-David Dalton
6854fee73e
Remove array and object pools.
2014-02-21 22:26:17 -08:00
John-David Dalton
24240bfba4
Simplify baseUniq.
2014-02-21 18:01:49 -08:00
John-David Dalton
40e32daabe
Fix _.template doc typo. [ closes #484 ] [ci skip]
2014-02-21 08:32:15 -08:00
John-David Dalton
8a1d2b614a
Templates should not reference _.escape if "escape" delimiters are not used. [ closes #484 ]
2014-02-20 22:31:42 -08:00
John-David Dalton
c634830b9f
Reduce passing arguments to helper functions by converting them to arrays.
2014-02-18 22:49:37 -08:00
John-David Dalton
24edd68833
Fix compseArgs and composeArgsRight and cleanup and correct partial placeholder tests.
2014-02-16 16:06:16 -08:00
John-David Dalton
6913798250
Fix doc typos in _.template. [ci skip]
2014-02-16 01:06:27 -08:00
John-David Dalton
55ae55c803
Add more details to the _.template docs. [ci skip] [ closes #472 ]
2014-02-15 19:28:19 -08:00
John-David Dalton
3d311496e0
Remove placeholder support from non-underscore builds.
2014-02-15 13:39:03 -08:00
John-David Dalton
ee4d9890e7
Add placeholder support to _.bind, _.partial, and _.partialRight.
2014-02-14 01:36:15 -08:00
John-David Dalton
fb2bafb49e
Ensure _.throttle & _.debounce work if the system time is set backwards.
2014-02-13 22:26:26 -08:00
Benjamin Tan
bc3b8e73fe
Fix minor typo [ci skip]
2014-02-13 00:16:53 -08:00
John-David Dalton
bb3bac9933
Remove extra var from createWrapper.
2014-02-11 23:52:34 -08:00
John-David Dalton
2e5f3cd25c
Cleanup docs in _.matches and _.where. [ci skip]
2014-02-11 21:06:58 -08:00
John-David Dalton
8558c55284
Add v8 issue note to parseInt and make other v8 issue use the same protocol. [ci skip]
2014-02-11 19:00:01 -08:00
John-David Dalton
09678eeef4
Update Underscore version in doc header. [ci skip]
2014-02-11 17:53:17 -08:00
John-David Dalton
fad43842a4
Rebuild docs and dist.
2014-02-11 00:39:05 -08:00
John-David Dalton
f090af2292
Rename _.match to _.matches.
2014-02-11 00:35:05 -08:00
John-David Dalton
dae0b25717
Revert allowing _.omit and _.pick to work as a callback for _.map when combined with _.partialRight to be solved with _.partial placeholders in v3.
2014-02-10 00:32:10 -08:00
John-David Dalton
de3d9dca72
Minor doc tweaks to _.partition and _.zip. [ci skip]
2014-02-09 00:32:58 -08:00
John-David Dalton
a91abb3e8d
Add _.partition.
2014-02-08 23:27:04 -08:00
John-David Dalton
dedffb3560
Reduce code in doc code examples. [ci skip]
2014-02-08 18:51:08 -08:00
John-David Dalton
8a2e06a713
Simplify _.every and _.some.
2014-02-06 09:06:35 -08:00
John-David Dalton
5a4826e660
Optimize _.callback.
2014-02-05 22:05:03 -08:00
John-David Dalton
20bf67d352
Cleanup _.result.
2014-02-05 21:31:56 -08:00
John-David Dalton
de7409fd07
Ensure functions can be used as default values for _.result.
2014-02-04 23:50:37 -08:00
John-David Dalton
8498f12a9d
Avoid setting arity/processing args if func is not passed to methods like _.bind.
2014-02-04 23:02:32 -08:00
John-David Dalton
201d17bc31
Allow _.omit and _.pick to work as a callback for _.map when combined with _.partialRight.
2014-02-04 00:57:26 -08:00
John-David Dalton
143e9bd210
Reduce code samples for _.assign and _.defaults. [ci skip]
2014-02-03 21:32:41 -08:00
John-David Dalton
2543afebf1
Optimize _.invoke for arrays.
2014-02-02 19:45:39 -08:00
John-David Dalton
733da570c8
Revert the backtick escape/unescape patch but keep the docs.
2014-01-31 02:05:43 -08:00
John-David Dalton
65258d5b6a
Add doc note about escaping backticks. [ci skip]
2014-01-31 01:52:38 -08:00
John-David Dalton
618c8bb5ad
Add ` as a character to escape/unescape and a doc note on unquoted html attribute values.
2014-01-30 09:38:01 -08:00
John-David Dalton
86a37e6f8d
Minor whitespace nits. [ci skip]
2014-01-30 01:37:17 -08:00
John-David Dalton
da1aad7b92
Add baseEachRight and baseForOwnRight.
2014-01-30 01:36:30 -08:00
John-David Dalton
ecb91613e8
Minor whitespace nits in _.compose and _.pull. [ci skip]
2014-01-28 23:38:29 -08:00
John-David Dalton
63727b67ee
Cleanup _.compose.
2014-01-28 22:14:10 -08:00
John-David Dalton
d969dcecbf
Set LARGE_ARRAY_SIZE to 40.
2014-01-28 22:05:50 -08:00
Stephen Solka
512c8de526
Use .apply for initial function call in _.compose then use .call in loop. [ closes #463 , #464 ]
2014-01-28 22:05:19 -08:00
John-David Dalton
012a929067
Add _.cloneDeep doc note to _.clone too. [ci skip]
2014-01-27 21:59:26 -08:00
John-David Dalton
6cef7d5060
Ensure _.where handles properties with undefined properties. [ closes #461 ]
2014-01-27 17:53:10 -08:00
John-David Dalton
752545ec0e
Minor doc nit for _.runInContext. [ci skip]
2014-01-26 14:44:11 -08:00
John-David Dalton
4d57ac0ce1
Avoid detecting the global function in Java based environments like Rhino as the freeGlobal.
2014-01-26 13:27:39 -08:00
John-David Dalton
b0383b0978
Update freeGlobal assignment in lodash builds, benchmark.js, and qunit-extras to work in node-webkit. [ closes #419 ]
2014-01-25 17:02:27 -08:00
John-David Dalton
0446a1b3a8
Tweak documented arg name key for _.pluck. [ci skip]
2014-01-25 02:52:14 -08:00
Michael "Z" Goddard
ee90f730b5
Add freeGlobal.self check to support browserified code running in a web worker.
...
`self` is the global context name in web workers. So
`freeGlobal.self === freeGlobal` is `true` in that environment when
lodash is packaged in a library/site for use in web workers.
2014-01-22 23:38:36 -08:00