Underscore.js 1.1.0

This commit is contained in:
Jeremy Ashkenas
2010-08-18 09:26:36 -04:00
parent b2b5a5390b
commit fc90d57e36
5 changed files with 25 additions and 14 deletions

View File

@@ -110,12 +110,12 @@
<table>
<tr>
<td><a href="underscore.js">Development Version (1.0.4)</a></td>
<td><i>24kb, Uncompressed with Comments</i></td>
<td><a href="underscore.js">Development Version (1.1.0)</a></td>
<td><i>25kb, Uncompressed with Comments</i></td>
</tr>
<tr>
<td><a href="underscore-min.js">Production Version (1.0.4)</a></td>
<td><i>2.9kb, Packed and Gzipped</i></td>
<td><a href="underscore-min.js">Production Version (1.1.0)</a></td>
<td><i>3kb, Packed and Gzipped</i></td>
</tr>
</table>
@@ -1158,6 +1158,15 @@ _([1, 2, 3]).value();
<h2>Change Log</h2>
<p>
<b class="header">1.1.0</b><br />
The method signature of <tt>_.reduce</tt> has been changed to match
the ECMAScript 5 signature, instead of the Ruby/Prototype.js version.
This is a backwards-incompatible change. <tt>_.template</tt> may now be
called with no arguments, and preserves whitespace. <tt>_.contains</tt>
is a new alias for <tt>_.include</tt>.
</p>
<p>
<b class="header">1.0.4</b><br />
<a href="http://themoell.com/">Andri Möll</a> contributed the <tt>_.memoize</tt>