mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-01-29 06:27:49 +00:00
b8fd129130f0956b43d5336452b1a5f709685b55
_._wrapper.
Previously, there was no way to get at the OO wrapper object. So if a user added a custom method on to _, or defined a custom alias, it would not be reflected in the wrapper. Now it is at least possible, though there is no API to do it. I alluded to making one in my commit that added _.alias() (which I recently reverted, as it added weight to the stripped version), but honestly I think the wrapping behavior should go in to a seperate library, not because it is bad, but because it is an awesome pattern that I want to use on objects other than underscore.
__
/\ \ __
__ __ ___ \_\ \ __ _ __ ____ ___ ___ _ __ __ /\_\ ____
/\ \/\ \ /' _ `\ /'_ \ /'__`\/\ __\/ ,__\ / ___\ / __`\/\ __\/'__`\ \/\ \ /',__\
\ \ \_\ \/\ \/\ \/\ \ \ \/\ __/\ \ \//\__, `\/\ \__//\ \ \ \ \ \//\ __/ __ \ \ \/\__, `\
\ \____/\ \_\ \_\ \___,_\ \____\\ \_\\/\____/\ \____\ \____/\ \_\\ \____\/\_\ _\ \ \/\____/
\/___/ \/_/\/_/\/__,_ /\/____/ \/_/ \/___/ \/____/\/___/ \/_/ \/____/\/_//\ \_\ \/___/
\ \____/
\/___/
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%