Snip
|
Underscore is a utility-belt library for JavaScript that... the functional programming support that you would expect... (or Ruby), but without extending any of the built-in Jav... It's the tie to go along with jQuery's tux.
|
---|
Categories |
|
---|
For Snip |
loading snip actions ... |
---|---|
For Page |
loading url actions ... |
Underscore is a utility-belt library for JavaScript that provides a lot of the functional programming support that you would expect in Prototype.js (or Ruby), but without extending any of the built-in JavaScript objects. It's the tie to go along with jQuery's tux.
Underscore provides 60-odd functions that support both the usual functional suspects: map, select, invoke — as well as more specialized helpers: function binding, javascript templating, deep equality testing, and so on. It delegates to built-in functions, if present, so modern browsers will use the native implementations of forEach, map, reduce, filter, every, some and indexOf.
HTML |
<p><a href="http://github.com/documentcloud/underscore/">Underscore</a> is a utility-belt library for JavaScript that provides a lot of the functional programming support that you would expect in <a href="http://prototypejs.org/api">Prototype.js</a> (or <a href="http://www.ruby-doc.org/core/classes/Enumerable.html">Ruby</a>), but without extending any of the built-in JavaScript objects. It's the tie to go along with <a href="http://docs.jquery.com">jQuery</a>'s tux. </p> <p> Underscore provides 60-odd functions that support both the usual functional suspects: <b>map</b>, <b>select</b>, <b>invoke</b> — as well as more specialized helpers: function binding, javascript templating, deep equality testing, and so on. It delegates to built-in functions, if present, so modern browsers will use the native implementations of <b>forEach</b>, <b>map</b>, <b>reduce</b>, <b>filter</b>, <b>every</b>, <b>some</b> and <b>indexOf</b>. </p> |
---|