Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

We’re showing branches in this repository, but you can also compare across forks.

base fork: jashkenas/underscore
base: 1.4.2
...
head fork: jashkenas/underscore
compare: 1.4.3
Commits on Oct 07, 2012
Jeremy Ashkenas Fixes #744, allow null in object, last, first, and size. a9ce927
Commits on Oct 08, 2012
Jeremy Ashkenas Fixes #819 -- explain use of chaining syntax. 270c056
Commits on Oct 09, 2012
Jeremy Ashkenas Fixes #820 -- throttle function uses two timeouts. bb97a4d
Commits on Oct 10, 2012
Jeremy Ashkenas Fixes #822 -- implements reject in terms of select 7419c80
Commits on Oct 20, 2012
Tal Ater TalAter Updated _.isFinite to match ES5 and ES6 spec
The EcmaScript 5 and 6 spec define isFinite as returning false only if
ToNumber(number) is NaN, Infinity, or −Infinity.

Current implementation of _.isFinite acts as if ToNumber('42') is NaN.
This commit fixes it while also catching the special gotcha in the spec
where isFinite(' ') returns true.

It's also much faster than current implementation.
143d137
Jeremy Ashkenas Merge pull request #830 from TalAter/isfinite
Updated _.isFinite to match ES5 and ES6 spec
6dc54a5
Commits on Oct 21, 2012
Brad Dunbar braddunbar Fix #834 - Provide documentation for _.unescape. a16d61e
Commits on Oct 22, 2012
Brad Dunbar braddunbar Specify unescaped entities. 1d8ef64
Jeremy Ashkenas Merge pull request #835 from braddunbar/unescape-docs
Fix #834 - Provide documentation for _.unescape.
b4d2b64
Commits on Oct 23, 2012
Nikolay Frantsev Shutnik Native-like names in documentation for _.all and _.any methods b4bd1c5
Jeremy Ashkenas Merge pull request #836 from Shutnik/master
Native-like names in documentation for _.all and _.any methods
2852062
Commits on Nov 05, 2012
Elias Zamaria mikez302 Juggle arguments in `_.uniq` to allow an argument signature of `array…
…, iterator, context`

Issue 832: Juggle arguments in `_.uniq` to allow an argument signature
of `array, iterator, context`
d88ea4d
Kim Joar Bekkelund kjbekkelund Remove local variable from `contains` c5c9149
Brad Dunbar braddunbar Merge pull request #850 from kjbekkelund/simplify-contains
Remove local variable from `contains`
5ce9819
Brad Dunbar braddunbar Merge pull request #849 from mikez302/uniq-arguments
Fix #832 - Juggle arguments in `_.uniq` to allow an argument signature of `array, iterator, context`.
df050be
Commits on Nov 12, 2012
Jeremy Ashkenas Fixes #856 -- use local var for arguments length check. 9404ac9
Jeremy Ashkenas Merge branch 'master' of github.com:documentcloud/underscore dfb47b0
Jeremy Ashkenas Fixes #854 -- return values for non-numeric comparisons. 3148c4f
Jeremy Ashkenas Fixes #647 -- removes old closure compiler pessimization. 187bc1d
Jeremy Ashkenas Fixes #838 -- use hasOwnProperty when looping through _.where attrs, …
…for healthy paranoia's sake
c42a3e6
Commits on Nov 19, 2012
Jeremy Ashkenas Fixes #864 -- add a default iterator to groupBy and countBy 0a2adcb
Commits on Nov 20, 2012
David Glasser glasser toArray: only call Array.prototype.slice on actual arrays.
Specifically, this fixes _.toArray on NodeList objects on IE8, which worked in
Underscore 1.3.3 but throws "JScript object expected"  in 1.4.0.
26a3055
Commits on Nov 21, 2012
Ore Landau Ore4444 Updated an old link to Prototype.js' API docs. 7fb1494
Brad Dunbar braddunbar Merge pull request #870 from Ore4444/patch-1
Updated an old link to Prototype.js' API docs.
47edf0b
Commits on Nov 26, 2012
Michael Ficarra michaelficarra fixes #868: _.times collects return values fc37d55
Commits on Nov 27, 2012
John-David Dalton jdalton Optimize `_.times`. b1f266f
Commits on Dec 01, 2012
Nick Fisher spadgos Use identity instead of creating a new function fb78143
John-David Dalton jdalton Ensure a bound instance is an instance of the bound and original func…
…tion.
6a6de57
John-David Dalton jdalton Merge pull request #879 from spadgos/faster-compact
Use identity instead of creating a new function in `_.compact`.
0ca412d
John-David Dalton jdalton Update `_.each` documentation. [closes #867] a3e0175
John-David Dalton jdalton Merge pull request #866 from glasser/toarray-nodelist
Ensure `_.toArray` only call `Array#slice` on actual arrays.
97037bc
John-David Dalton jdalton Cleanup `_.toArray` unit test addition. 17e40e7
Commits on Dec 02, 2012
John-David Dalton jdalton Make Underscore work in Adobe's JS engine. 6aee644
Commits on Dec 03, 2012
John-David Dalton jdalton Cleanup test/object.js to match existing coding style. a7afc56
John-David Dalton jdalton Make unit tests passable in IE < 8. 3a4204f
John-David Dalton jdalton Avoid OOP wrapper unless explicitly testing it in test/arrays.js. b9872ea
John-David Dalton jdalton Remove no longer relevant custom `isEqual` method tests in test/objec…
…ts.js.
af58059
John-David Dalton jdalton Cleanup `_.template` test in test/utility.js 9179313
Jeremy Ashkenas Fixes #877 -- uniqueId treats prefixes as strings and returns strings 076adca
Jeremy Ashkenas removing json3 dependency in favor of qunit's deepEqual 05585c6
Jeremy Ashkenas reverting 'ensure a bound instance is an instance ...' 9975ebb
Jeremy Ashkenas tweak uniqueId 35796f1
Commits on Dec 04, 2012
John-David Dalton jdalton Finish the previous `_.bind` revert. 16a229a
John-David Dalton jdalton Ensure `_.throttle` triggers trailing call after repeatedly invoked. …
…[closes #882]
d249434
Jeremy Ashkenas A byte a day keeps the doctor away. 9a5a4b2
Jeremy Ashkenas Merge branch 'master' of github.com:documentcloud/underscore 9547582
Jeremy Ashkenas tiny tweak to any 9d02f62
Jeremy Ashkenas Revert "tiny tweak to any"
This reverts commit 9d02f62.
6a47202
Jeremy Ashkenas removing overly cautious hasOwnProperty check from _.where b1f1037
Jeremy Ashkenas Underscore 1.4.3 78887cf