Mike Frawley b8fd129130 only initWrapper() once. make wrapper constructor accessable as _._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.
2010-02-23 18:20:42 -06:00
2009-10-27 13:26:36 -04:00

                   __                                                         
                  /\ \                                                         __           
 __  __    ___    \_\ \     __   _ __   ____    ___    ___   _ __    __       /\_\    ____  
/\ \/\ \ /' _ `\  /'_  \  /'__`\/\  __\/ ,__\  / ___\ / __`\/\  __\/'__`\     \/\ \  /',__\ 
\ \ \_\ \/\ \/\ \/\ \ \ \/\  __/\ \ \//\__, `\/\ \__//\ \ \ \ \ \//\  __/  __  \ \ \/\__, `\
 \ \____/\ \_\ \_\ \___,_\ \____\\ \_\\/\____/\ \____\ \____/\ \_\\ \____\/\_\ _\ \ \/\____/
  \/___/  \/_/\/_/\/__,_ /\/____/ \/_/ \/___/  \/____/\/___/  \/_/ \/____/\/_//\ \_\ \/___/ 
                                                                              \ \____/      
                                                                               \/___/

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/
Description
No description provided
Readme MIT 52 MiB
Languages
JavaScript 97.2%
HTML 2.3%
EJS 0.5%