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
John-David Dalton
bbc3100bb3
Add _.callback as an alias of _.createCallback.
2014-01-22 08:54:25 -08:00
John-David Dalton
41ef391d15
Avoid leaking a data var in compat/legacy builds and remove dead code from the underscore build.
2014-01-22 00:26:45 -08:00
John-David Dalton
e51aa5899a
Dumb _.curry down for consistent feature support for old environments.
2014-01-21 22:25:08 -08:00
John-David Dalton
c1c92256ea
Track arity of functions created by _.bind, _.bindKey, _.bindAll, _.partial, _.partialRight, _.curry, and _.wrap.
2014-01-21 19:59:13 -08:00
John-David Dalton
f4de7422b3
Fix large array optimization in baseDifference.
2014-01-20 00:39:20 -08:00
John-David Dalton
63ea01104b
Conditionally define createCache base on feature inference.
2014-01-19 13:27:23 -08:00
John-David Dalton
677fb93494
Use baseEach, baseForOwn and baseForIn to reduce dependencies on baseCreateCallback.
2014-01-19 12:10:09 -08:00
John-David Dalton
55cbb12701
Use ES6 Set to optimize for large arrays in _.uniq, _.difference, & _.intersection.
2014-01-18 22:51:43 -08:00
John-David Dalton
c1d3fc1b78
Cleanup _.result default value patch. [ closes #455 ]
2014-01-17 09:27:11 -08:00
John-David Dalton
d1e1a90d08
Merge pull request #454 from pistacchio/master
...
Added default value to `_.result`.
2014-01-16 21:16:12 -08:00
John-David Dalton
d56de091f6
Missed a BIND_FLAG use in baseCreateCallback.
2014-01-16 20:18:21 -08:00
pistacchio
e983f93859
Added default value to _.result
2014-01-16 18:54:20 +01:00
John-David Dalton
999dfb84ee
Use vars to store bitmask flags to improve readability.
2014-01-15 23:52:56 -08:00