John-David Dalton
|
67f9c7e0f0
|
Code cleanup and removal of ctorByClass.
|
2014-05-25 13:18:13 -07:00 |
|
John-David Dalton
|
1812d557b6
|
Minor doc nit. [ci skip]
|
2014-05-25 12:32:15 -07:00 |
|
John-David Dalton
|
34cde430a5
|
Add private isArrayLike helper and add object classifications for typed arrays with support for cloning and comparing them.
|
2014-05-25 12:24:32 -07:00 |
|
John-David Dalton
|
12a6b58614
|
Fix _.throttle doc typo. [ci skip]
|
2014-05-25 09:14:02 -07:00 |
|
John-David Dalton
|
cb81fccfaf
|
Lots of doc tweak removing heavy will use. [ci skip]
|
2014-05-24 18:33:05 -07:00 |
|
John-David Dalton
|
1ce0fffd25
|
Add a cancel function to debounced functions. [closes #567]
|
2014-05-24 14:39:53 -07:00 |
|
John-David Dalton
|
0c1c4b08c7
|
Fix doc typo. [ci skip]
|
2014-05-23 23:45:45 -07:00 |
|
Mathias Bynens
|
c875b61003
|
Make _.escape escape backticks as well
In Internet Explorer ≤ 8, the backtick character can be used to break out of unquoted attribute values or HTML comments. See http://html5sec.org/#102, http://html5sec.org/#108, and http://html5sec.org/#133.
|
2014-05-23 10:38:05 +02:00 |
|
John-David Dalton
|
2c6c4426e8
|
Fix jashkenas/underscore#1621.
|
2014-05-21 16:06:06 -07:00 |
|
John-David Dalton
|
4345f353a0
|
Fix callback use with _.isEqual.
|
2014-05-21 00:20:05 -07:00 |
|
John-David Dalton
|
9525952573
|
Avoid variable assignments in return statements.
|
2014-05-21 00:20:05 -07:00 |
|
John-David Dalton
|
76828a87ee
|
Optimize _.every and _.some and cleanup _.callback, _.forEach, and _.forEachRight.
|
2014-05-21 00:20:05 -07:00 |
|
John-David Dalton
|
c0265f8fd9
|
Add _.runInContext doc example.
|
2014-05-21 00:20:05 -07:00 |
|
John-David Dalton
|
1111c20d54
|
Simplify reWords.
|
2014-05-19 08:51:33 -07:00 |
|
John-David Dalton
|
387176e83d
|
Add baseAssign, baseBindAll, baseInvoke, basePick, basePullAt, and createAssigner.
|
2014-05-19 01:03:22 -07:00 |
|
John-David Dalton
|
7ba673ed89
|
Rename arrayRef to arrayProto for consistency.
|
2014-05-16 02:18:14 -07:00 |
|
Benjamin Tan
|
41ac7062f8
|
Minor comment and code style fixes
|
2014-05-15 19:04:06 -07:00 |
|
John-David Dalton
|
71c19b566b
|
Tweak escaping sourceURL in docs. [ci skip]
|
2014-05-15 19:04:06 -07:00 |
|
John-David Dalton
|
0de72f3abb
|
Add compileFunction.
|
2014-05-15 19:04:06 -07:00 |
|
John-David Dalton
|
f7799eee59
|
Avoid unneeded index var in baseBind.
|
2014-05-15 19:04:06 -07:00 |
|
John-David Dalton
|
13e00379ae
|
Cleanup baseIsEqual and baseMerge.
|
2014-05-13 08:58:01 -07:00 |
|
John-David Dalton
|
6c71e3c583
|
Pass more callback args to custom callbacks of _.clone, _.cloneDeep, and _.isEqual.
|
2014-05-13 08:58:01 -07:00 |
|
John-David Dalton
|
ff138c6d47
|
Null out the descriptor.value after using it in setData.
|
2014-05-12 07:49:20 -07:00 |
|
John-David Dalton
|
d5c3b258f3
|
Rename assignDefaultsOwn to assignOwnDefaults and remove createAssigner and defaultsOwn.
|
2014-05-11 03:49:41 -07:00 |
|
John-David Dalton
|
ee4a703407
|
Add createAssigner, defaultsOwn, and expand the callback args of _.assign and _.merge.
|
2014-05-11 02:35:46 -07:00 |
|
John-David Dalton
|
e901208721
|
Fix typo in _.times docs. [ci skip] [closes #549]
|
2014-05-09 08:46:56 -07:00 |
|
John-David Dalton
|
f999195f47
|
Style nit on the IIFE used with mixin.
|
2014-05-09 02:31:25 -07:00 |
|
John-David Dalton
|
9b920cf813
|
Add baseFunctions to ensure _.mixin only iterates over own keys of source objects.
|
2014-05-09 02:31:25 -07:00 |
|
John-David Dalton
|
4155e8e0ce
|
Add a doc note for iterating inherited properties to _.bindAll and _.functions. [ci skip]
|
2014-05-09 02:31:25 -07:00 |
|
John-David Dalton
|
b583530c66
|
Simplify memoize doc example. [ci skip]
|
2014-05-07 01:32:21 -07:00 |
|
John-David Dalton
|
43c13c22a8
|
Make _.memoize skip the __proto__ key.
|
2014-05-07 00:40:27 -07:00 |
|
John-David Dalton
|
32167b45ce
|
Ensure _.pullAt ignores non-index values.
|
2014-05-07 00:12:12 -07:00 |
|
Dan Allison
|
9c30d69d55
|
Fix old pullAt example
|
2014-05-06 10:16:51 -07:00 |
|
John-David Dalton
|
ff673f053b
|
Use String instead of +'' for consistent style.
|
2014-05-06 09:20:44 -07:00 |
|
John-David Dalton
|
2514987d3e
|
Comment nit. [ci skip]
|
2014-05-06 08:44:35 -07:00 |
|
John-David Dalton
|
f23a458319
|
Fix typo in _.pullAt.
|
2014-05-04 10:43:43 -07:00 |
|
John-David Dalton
|
1e324103cc
|
Tweak docs for _.at, _.omit, and _.pick. [ci skip]
|
2014-05-04 10:43:43 -07:00 |
|
John-David Dalton
|
85d8ced299
|
Add baseAt to reduce _.at and _.pullAt.
|
2014-05-04 10:43:43 -07:00 |
|
John-David Dalton
|
0631b8f052
|
Whitespace nit.
|
2014-05-04 02:57:22 -07:00 |
|
John-David Dalton
|
649994464c
|
Tweak docs for _.pull, _.pullAt, and _.remove. [ci skip]
|
2014-05-04 02:57:22 -07:00 |
|
John-David Dalton
|
8c618780b7
|
Rename _.removeAt to _.pullAt. [closes #490]
|
2014-05-04 02:57:07 -07:00 |
|
Dan Allison
|
0dc2e8994b
|
use else instead of continue
|
2014-05-04 02:51:55 -07:00 |
|
Dan Allison
|
d25ab4f204
|
use more descriptive variable name
|
2014-05-04 02:51:54 -07:00 |
|
Dan Allison
|
ff26080c5c
|
fix _.removeAt with repeated indexes
|
2014-05-04 02:51:54 -07:00 |
|
Dan Allison
|
95bd2dde19
|
add removeAt function
(cherry picked from commit 06b3eae373484618b58f70f3cd6ecda319bfd977)
|
2014-05-04 02:50:23 -07:00 |
|
John-David Dalton
|
702a82bb38
|
Remove args var from _.at.
|
2014-05-03 22:05:26 -07:00 |
|
John-David Dalton
|
4c690b9d4c
|
Make documented args names of methods that accept more than one plural. [ci skip]
|
2014-05-03 21:44:43 -07:00 |
|
John-David Dalton
|
695d6e14d4
|
Remove _.at guard for _.map use.
|
2014-05-03 21:42:19 -07:00 |
|
John-David Dalton
|
53bfafb84c
|
Add doc note to _.defaults for a deep version. [ci skip] [closes #154]
|
2014-05-02 22:49:36 -07:00 |
|
John-David Dalton
|
40809e40c2
|
Fix _.partialRight doc example. [ci skip] [closes #540]
|
2014-05-02 22:33:17 -07:00 |
|