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 |
|
Jeremy Ashkenas
|
f43a7907bb
|
Merge pull request #267 from brianhaveri/master
Link to Underscore.php in docs
|
2011-08-04 12:01:12 -07:00 |
|
Brian Haveri
|
6cf647505f
|
Added link to Underscore.php in the docs
|
2011-08-04 12:42:29 -06:00 |
|
Jeremy Ashkenas
|
03b341d063
|
Merging in #194, adding an iterator to _.uniq
|
2011-08-03 11:32:31 -04:00 |
|
Jeremy Ashkenas
|
75b21957c7
|
Issue #252 #154 #148 documenting numeric length key caveat
|
2011-08-03 11:16:57 -04:00 |
|
Nadav
|
34f10467b3
|
* Added _.escape() for escaping special HTML chars
* Added support for auto-escaping of values using ```<%== ... %>```
|
2011-07-20 03:41:27 -07:00 |
|
Michael Ficarra
|
c7c57ca6ff
|
_.isEqual improvements
|
2011-07-15 18:15:10 -04:00 |
|
Jeremy Ashkenas
|
9e8fc83040
|
fixing silly typo.
|
2011-07-13 17:05:20 -04:00 |
|
Jeremy Ashkenas
|
39b07d7b2c
|
Underscore.js 1.1.7
|
2011-07-13 17:02:12 -04:00 |
|
Kit Goncharov
|
a12d0035cb
|
_.isEqual: Ensure commutative equality for dates and RegExps.
|
2011-07-13 14:24:28 -06:00 |
|
Jeremy Ashkenas
|
c1a556216e
|
Revert "Edited underscore.js via GitHub"
This reverts commit 47fb3d7f9c.
|
2011-07-13 15:57:52 -04:00 |
|
Jeremy Ashkenas
|
a6cba6885e
|
Revert "merging in faster indexOf patch ... arguably faster than the native implementation, but oh well. #245"
This reverts commit f099038a9d.
|
2011-07-13 15:57:42 -04:00 |
|
Jeremy Ashkenas
|
f099038a9d
|
merging in faster indexOf patch ... arguably faster than the native implementation, but oh well. #245
|
2011-07-13 15:12:50 -04:00 |
|
limeblack
|
47fb3d7f9c
|
Edited underscore.js via GitHub
|
2011-07-13 11:19:34 -07:00 |
|
Jeremy Ashkenas
|
7eb7b08f71
|
reverting a non-important change that broke reduceRight in IE.
|
2011-07-13 12:58:36 -04:00 |
|
Jeremy Ashkenas
|
19beb29283
|
Revert "Issue #103, change initial value detection for reduce()"
This reverts commit 174c897fce.
|
2011-07-13 12:57:51 -04:00 |
|
Kit Goncharov
|
365eea6aa7
|
_.isEqual: Streamline the deep comparison algorithm and remove the dependency on _.keys.
|
2011-07-13 10:48:16 -06:00 |
|
Jeremy Ashkenas
|
347d7297f3
|
function formatting.
|
2011-07-13 12:41:17 -04:00 |
|
Jeremy Ashkenas
|
779a28d59a
|
Merge branch 'underscore.any' of https://github.com/shinuza/underscore
|
2011-07-13 12:40:08 -04:00 |
|
Jeremy Ashkenas
|
7573ac7751
|
Unit tests for sparse arrays.
|
2011-07-13 12:36:27 -04:00 |
|
Jeremy Ashkenas
|
5edc3761c6
|
Issue #209, fix reduce without a memo for arrays that are sparse at the beginning.
|
2011-07-13 12:27:11 -04:00 |
|
Jeremy Ashkenas
|
174c897fce
|
Issue #103, change initial value detection for reduce()
|
2011-07-13 12:21:08 -04:00 |
|
Jeremy Ashkenas
|
cd236d4c47
|
Issue #243. _.functions now also returns the names of function defined in the prototype chain.
|
2011-07-13 11:09:51 -04:00 |
|
Kit Goncharov
|
b6a02fa6bb
|
_.isEqual: Use a strict comparison to avoid an unnecessary division for false values.
|
2011-07-12 22:37:09 -06:00 |
|
Kit Goncharov
|
cf812e77bc
|
_.isEqual: Ensure that 0 and -0 are not equivalent. NaN values should be equal.
|
2011-07-12 22:17:12 -06:00 |
|
Kit Goncharov
|
9d0b43221a
|
_.isEqual: Move the internal eq method into the main closure. Remove strict type checking.
|
2011-07-12 20:22:05 -06:00 |
|
Kit Goncharov
|
e21b346cbf
|
_.isEqual: Compare object types rather than [[Class]] names.
|
2011-07-12 19:54:56 -06:00 |
|
Kit Goncharov
|
5c2c3ce464
|
Rewrite _.isEqual and add support for comparing cyclic structures.
|
2011-07-12 19:42:36 -06:00 |
|