Skip to content

Commit

Permalink
Underscore.js 1.1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
jashkenas committed Mar 21, 2011
1 parent 065dcbb commit c5ba702
Show file tree
Hide file tree
Showing 7 changed files with 128 additions and 91 deletions.
4 changes: 4 additions & 0 deletions .npmignore
@@ -0,0 +1,4 @@
test/
underscore-min.js
Rakefile
docs/
2 changes: 1 addition & 1 deletion docs/docco.css
Expand Up @@ -115,7 +115,7 @@ table td {
}
pre, tt, code {
font-size: 12px; line-height: 18px;
font-family: Monaco, Consolas, "Lucida Console", monospace;
font-family: Menlo, Monaco, Consolas, "Lucida Console", monospace;
margin: 0; padding: 0;
}

Expand Down
141 changes: 80 additions & 61 deletions docs/underscore.html

Large diffs are not rendered by default.

21 changes: 17 additions & 4 deletions index.html
Expand Up @@ -118,11 +118,11 @@ <h2>Downloads <i style="padding-left: 12px; font-size:12px;">(Right-click, and u

<table>
<tr>
<td><a href="underscore.js">Development Version (1.1.4)</a></td>
<td><i>27kb, Uncompressed with Comments</i></td>
<td><a href="underscore.js">Development Version (1.1.5)</a></td>
<td><i>28kb, Uncompressed with Comments</i></td>
</tr>
<tr>
<td><a href="underscore-min.js">Production Version (1.1.4)</a></td>
<td><a href="underscore-min.js">Production Version (1.1.5)</a></td>
<td><i>3kb, Minified and Gzipped</i></td>
</tr>
</table>
Expand Down Expand Up @@ -1223,7 +1223,20 @@ <h2>Links &amp; Suggested Reading</h2>
Python's <a href="http://docs.python.org/library/itertools.html">itertools</a>.
</p>

<h2>Change Log</h2>
<h2 id="changelog">Change Log</h2>

<p>
<b class="header">1.1.5</b> &mdash; <small><i>Mar 20, 2011</i></small><br />
Added an <tt>_.defaults</tt> function, for use merging together JS objects
representing default options.
Added an <tt>_.once</tt> function, for manufacturing functions that should
only ever execute a single time.
<tt>_.bind</tt> now delegates to the native ECMAScript 5 version,
where available.
<tt>_.keys</tt> now throws an error when used on non-Object values, as in
ECMAScript 5.
Fixed a bug with <tt>_.keys</tt> when used over sparse arrays.
</p>

<p>
<b class="header">1.1.4</b> &mdash; <small><i>Jan 9, 2011</i></small><br />
Expand Down
8 changes: 4 additions & 4 deletions package.json
@@ -1,12 +1,12 @@
{
"name" : "underscore",
"description" : "Functional programming aid for JavaScript. Works well with jQuery.",
"url" : "http://documentcloud.github.com/underscore/",
"description" : "JavaScript's functional programming helper library.",
"homepage" : "http://documentcloud.github.com/underscore/",
"keywords" : ["util", "functional", "server", "client", "browser"],
"author" : "Jeremy Ashkenas <jeremy@documentcloud.org>",
"contributors" : [],
"dependencies" : [],
"lib" : ".",
"repository" : {"type": "git", "url": "git://github.com/documentcloud/underscore.git"},
"main" : "underscore.js",
"version" : "1.1.4"
"version" : "1.1.5"
}
39 changes: 20 additions & 19 deletions underscore-min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions underscore.js
@@ -1,4 +1,4 @@
// Underscore.js 1.1.4
// Underscore.js 1.1.5
// (c) 2011 Jeremy Ashkenas, DocumentCloud Inc.
// Underscore is freely distributable under the MIT license.
// Portions of Underscore are inspired or borrowed from Prototype,
Expand Down Expand Up @@ -59,7 +59,7 @@
}

// Current version.
_.VERSION = '1.1.4';
_.VERSION = '1.1.5';

// Collection Functions
// --------------------
Expand Down

0 comments on commit c5ba702

Please sign in to comment.