mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-01-29 06:27:49 +00:00
c43de549bacd3f6def734317656ddae7fa52c4cf
While I'm not a fan of making abstractions where a simpe solution exists, I think this is good as it makes a public API for extending underscore, therefore making it "ok" to make your own alias names. Also give us some future proofing in case we ever add in hooks on method definition. For example, right now if you add a method or make an alias in user code, it isn't added to the wrapper prototype. Added tests and inline docs, no external docs
__
/\ \ __
__ __ ___ \_\ \ __ _ __ ____ ___ ___ _ __ __ /\_\ ____
/\ \/\ \ /' _ `\ /'_ \ /'__`\/\ __\/ ,__\ / ___\ / __`\/\ __\/'__`\ \/\ \ /',__\
\ \ \_\ \/\ \/\ \/\ \ \ \/\ __/\ \ \//\__, `\/\ \__//\ \ \ \ \ \//\ __/ __ \ \ \/\__, `\
\ \____/\ \_\ \_\ \___,_\ \____\\ \_\\/\____/\ \____\ \____/\ \_\\ \____\/\_\ _\ \ \/\____/
\/___/ \/_/\/_/\/__,_ /\/____/ \/_/ \/___/ \/____/\/___/ \/_/ \/____/\/_//\ \_\ \/___/
\ \____/
\/___/
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.
For Docs, License, Tests, and pre-packed downloads, see:
http://documentcloud.github.com/underscore/
Languages
JavaScript
97.2%
HTML
2.3%
EJS
0.5%