Skip to content

Commit 1aed9ec

Browse files
committed
Ch-ch-ch-chaanges.
1 parent 7a490f2 commit 1aed9ec

File tree

1 file changed

+16
-13
lines changed

1 file changed

+16
-13
lines changed

index.html

Lines changed: 16 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -400,15 +400,15 @@
400400

401401
<h2>Downloads <i style="padding-left: 12px; font-size:12px;">(Right-click, and use "Save As")</i></h2>
402402

403-
<table>
403+
<table style="min-width: 640px;">
404404
<tr>
405405
<td><a href="underscore.js">Development Version (1.8.0)</a></td>
406406
<td><i>51kb, Uncompressed with Plentiful Comments</i></td>
407407
</tr>
408408
<tr>
409409
<td><a href="underscore-min.js">Production Version (1.8.0)</a></td>
410410
<td>
411-
<i>5.7kb, Minified and Gzipped</i>
411+
<i>5.7kb, Minified and Gzipped <b>(3x smaller than Lodash ;)</b></i>
412412
&nbsp;<small>(<a href="underscore-min.map">Source Map</a>)</small>
413413
</td>
414414
</tr>
@@ -2182,37 +2182,40 @@ <h2 id="changelog">Change Log</h2>
21822182
<b class="header">1.8.0</b> &mdash; <small><i>Feb. 19, 2015</i></small> &mdash; <a href="https://github.com/jashkenas/underscore/compare/1.7.0...1.8.0">Diff</a> &mdash; <a href="https://cdn.rawgit.com/jashkenas/underscore/1.8.0/index.html">Docs</a><br />
21832183
<ul>
21842184
<li>
2185-
Added <tt>_.allKeys</tt> which returns <i>all</i> the enumerable property
2186-
names on an object.
2185+
Added <tt>_.mapObject</tt>, which is similar to <tt>_.map</tt>, but just
2186+
for the values in your object. (A real crowd pleaser.)
21872187
</li>
21882188
<li>
2189-
Reverted a 1.7.0 change where <tt>_.extend</tt> only copied "own" properties.
2189+
Added <tt>_.allKeys</tt> which returns <i>all</i> the enumerable property
2190+
names on an object.
21902191
</li>
21912192
<li>
2192-
Added <tt>_.mapObject</tt>, which is like <tt>_.map</tt>, but just
2193-
for the values in your object. (A crowd favorite.)
2193+
Reverted a 1.7.0 change where <tt>_.extend</tt> only copied "own"
2194+
properties. Hopefully this will un-break you &mdash; if it breaks you
2195+
again, I apologize.
21942196
</li>
21952197
<li>
2196-
Added <tt>_.extendOwn</tt> &mdash; a form of <tt>_.extend</tt> that
2198+
Added <tt>_.extendOwn</tt> &mdash; a less-useful form of <tt>_.extend</tt> that
21972199
only copies over "own" properties.
21982200
</li>
21992201
<li>
22002202
Added <tt>_.findIndex</tt> and <tt>_.findLastIndex</tt> functions,
2201-
along the lines of <tt>_.indexOf</tt> and <tt>_.lastIndexOf</tt>.
2203+
which nicely complement their twin-twins <tt>_.indexOf</tt> and <tt>_.lastIndexOf</tt>.
22022204
</li>
22032205
<li>
22042206
Added an <tt>_.isError</tt> function.
22052207
</li>
22062208
<li>
22072209
Restored the <tt>_.unzip</tt> function as the inverse of <tt>zip</tt>.
2210+
Flip-flopping. I know.
22082211
</li>
22092212
<li>
2210-
<tt>_.result</tt> now takes an optional <b>fallback</b> value (or function
2211-
that provides a default value).
2213+
<tt>_.result</tt> now takes an optional fallback value (or function
2214+
that provides the fallback value).
22122215
</li>
22132216
<li>
2214-
Added <tt>_.propertyOf</tt> wrapper as a mirror-world version
2215-
of <tt>_.property</tt>.
2217+
Added the <tt>_.propertyOf</tt> function generator as a mirror-world
2218+
version of <tt>_.property</tt>.
22162219
</li>
22172220
<li>
22182221
Various and diverse code simplifications, changes for improved

0 commit comments

Comments
 (0)