Jeremy Ashkenas
|
08db9c256f
|
Merge pull request #344 from michaelficarra/patch-1
isNaN comment
|
2011-10-20 14:15:08 -07:00 |
|
Michael Ficarra
|
4d6e2c6ed4
|
isNaN comment
|
2011-10-20 18:08:08 -03:00 |
|
Jeremy Ashkenas
|
00cd88cfa6
|
Enhancing _.bind() to support binding constructors ... which you would never, ever want to do.
|
2011-10-19 16:51:53 -04:00 |
|
Jeremy Ashkenas
|
3fbb9bb0dd
|
Fixes #339 -- incorrect memoization example in docs.
|
2011-10-19 16:15:40 -04:00 |
|
Jeremy Ashkenas
|
f1ba205731
|
cleaning up AMD comment.
|
2011-10-19 16:01:13 -04:00 |
|
Jeremy Ashkenas
|
196c8066f7
|
Merge branch 'master' of github.com:documentcloud/underscore
|
2011-10-19 15:59:54 -04:00 |
|
Jeremy Ashkenas
|
4b2de2e107
|
Fixes #341, flattening arrays in the context of taking a union shouldn't be deep. Adding a shallow parameter to _.flatten()
|
2011-10-19 15:59:53 -04:00 |
|
Jeremy Ashkenas
|
ebca7f2a2d
|
Merge pull request #338 from jrburke/optamd
Optionally call AMD define() to register module
|
2011-10-19 12:18:57 -07:00 |
|
Jeremy Ashkenas
|
3587febd8e
|
Comment formatting.
|
2011-10-19 14:47:20 -04:00 |
|
jrburke
|
6241343b33
|
If register as an AMD module, do not create a global, since the goal is to not leak out globals in that case.
|
2011-10-19 10:07:39 -07:00 |
|
Jeremy Ashkenas
|
7fc616943e
|
Issue #329, special check for the common and magical 'length' property.
|
2011-10-18 23:26:59 -04:00 |
|
jrburke
|
e68d95dcaa
|
Merge branch 'master' of https://github.com/documentcloud/underscore into optamd
|
2011-10-18 16:28:28 -07:00 |
|
Jeremy Ashkenas
|
86eedd2a7b
|
Fixes #335, exporting for Titanium.
|
2011-10-18 16:51:45 -04:00 |
|
Jeremy Ashkenas
|
c30be2137c
|
Merge branch 'patch-1' of https://github.com/tonylukasavage/underscore
|
2011-10-18 16:44:50 -04:00 |
|
Jeremy Ashkenas
|
e79586515c
|
Issue #329 -- significant change to _.isEqual semantics.
|
2011-10-18 16:07:23 -04:00 |
|
Jeremy Ashkenas
|
6123870dab
|
Fixes #336 ... adds find alias for detect, and reorders to make the ES5 versions canonical.
|
2011-10-18 15:02:06 -04:00 |
|
Tony Lukasavage
|
1054e24c4f
|
made the exports check safe
|
2011-10-18 13:27:18 -03:00 |
|
Tony Lukasavage
|
0513f60b63
|
add support for CommonJS implementations that do not support modules.exports.
|
2011-10-18 11:50:46 -03:00 |
|
jrburke
|
e6381d8ee7
|
Opt in to AMD registration.
|
2011-10-17 17:58:03 -07:00 |
|
Jeremy Ashkenas
|
89cf32f37a
|
Merge pull request #334 from jasondavies/gh-pages-typo
Fix typo.
|
2011-10-15 03:12:33 -07:00 |
|
Jason Davies
|
2085963d19
|
Fix typo.
|
2011-10-15 11:09:49 +01:00 |
|
Jeremy Ashkenas
|
407b6b4916
|
Merge pull request #326 from kmalakoff/is_equal_different_types_take2
Reimplemented _.isEqual tests and patch in a fresh branch.
|
2011-10-06 09:58:31 -07:00 |
|
Kevin Malakoff
|
69bb2e03fa
|
Reducant check spotted by kitcambridge.
|
2011-10-06 18:51:24 +02:00 |
|
Kevin Malakoff
|
81c9dc2f1f
|
yuchi spotted duplication
|
2011-10-06 18:23:42 +02:00 |
|
Kevin Malakoff
|
f2a64227fd
|
Reimplemented _.isEqual tests and patch in a fresh branch.
|
2011-10-06 15:50:51 +02:00 |
|
Jeremy Ashkenas
|
0ed3b65df1
|
fixing bullet points.
|
2011-10-05 17:35:54 -04:00 |
|
Jeremy Ashkenas
|
dc9ec7ed38
|
updating filesizes
|
2011-10-05 17:32:54 -04:00 |
|
Jeremy Ashkenas
|
7304084e94
|
Underscore.js 1.2.0
|
2011-10-05 17:30:20 -04:00 |
|
Jeremy Ashkenas
|
cc6a9d494d
|
Merging in escaping for Underscore templates, using <%- syntax. Sorry Eco.
|
2011-10-05 16:19:00 -04:00 |
|
Jeremy Ashkenas
|
b501ba49e9
|
Merge branch 'patch-1' of http://github.com/shesek/underscore
|
2011-10-05 16:07:15 -04:00 |
|
Jeremy Ashkenas
|
ac191a28a5
|
merging in #324 as _.initial
|
2011-10-05 15:32:34 -04:00 |
|
Pier Paolo Ramon
|
dcda142655
|
Tests for _.init
|
2011-10-05 14:14:51 +02:00 |
|
Pier Paolo Ramon
|
6d9d071b2f
|
Implemented _.init as per #319
|
2011-10-05 14:06:18 +02:00 |
|
Jeremy Ashkenas
|
348c93515c
|
Issue #272 ... min and max of empty objects.
|
2011-10-04 17:23:55 -04:00 |
|
Jeremy Ashkenas
|
921b592cd7
|
Merge pull request #281 from ryantenney/master
Array Shuffle
|
2011-10-04 14:11:30 -07:00 |
|
Jeremy Ashkenas
|
d79cd48bc5
|
Merge pull request #285 from malclocke/add_index_argument_to_last
Add an optional index argument to _.last()
|
2011-10-04 13:06:07 -07:00 |
|
Jeremy Ashkenas
|
7d0e4169a9
|
shortening module names.
|
2011-10-04 15:56:32 -04:00 |
|
Jeremy Ashkenas
|
1facc0e4fe
|
merging in Tim Smart's gorgeous deep equality patch for _.isEqual
|
2011-10-04 15:56:26 -04:00 |
|
Kit Cambridge
|
7760e6aa52
|
Merge git://github.com/documentcloud/underscore into isequal
|
2011-09-05 17:50:45 -06:00 |
|
Kit Cambridge
|
4fa97eb2fa
|
_.isBoolean should return true for boolean object wrappers.
|
2011-09-05 15:51:09 -06:00 |
|
Kit Cambridge
|
54245bc679
|
_.isEqual: Add an early comparison for NaN values.
|
2011-09-05 12:34:09 -06:00 |
|
Kit Cambridge
|
e9faa40108
|
Add a comprehensive test suite for isEqual.
|
2011-09-05 12:27:03 -06:00 |
|
Kit Cambridge
|
6f62f258cb
|
Add support for comparing string, number, and boolean object wrappers. Ignore inherited properties when deep comparing objects. Use a more efficient while loop for comparing arrays and array-like objects.
|
2011-09-05 12:25:59 -06:00 |
|
Kit Goncharov
|
d447165ed4
|
Merge pull request #1 from michaelficarra/isequal
Merging @michaelficarra's additions...
|
2011-09-04 16:37:05 -07:00 |
|
Michael Ficarra
|
bf3aa97c36
|
reverting some changes to isEqual that were a little too aggressive
|
2011-09-04 19:34:19 -04:00 |
|
Malcolm Locke
|
e449b00a26
|
Add guard check to _.last()
Allows _.last() to work as expected with _.map().
|
2011-09-01 01:10:10 +12:00 |
|
Malcolm Locke
|
a8f0445192
|
Add an optional index argument to _.last()
This makes _.last() behave the same as _.first(). Passing an optional
second argument n will return the last n elements of the array.
|
2011-08-31 22:39:05 +12:00 |
|
Ryan W Tenney
|
9996ecae5c
|
Remove dupe inclusion of underscore-min.js. Get rid of 'reshuffle' in index.html.
|
2011-08-25 22:13:11 +00:00 |
|
Ryan W Tenney
|
f4cba513b9
|
Added function shuffle, with test case.
|
2011-08-25 21:44:29 +00:00 |
|
Jeremy Ashkenas
|
610b347174
|
Adding Underscore-perl
|
2011-08-11 10:53:29 -04:00 |
|