Mike Frawley c43de549ba Create #alias method, callable on any object, _ by default.
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
2010-02-17 09:41:18 -06:00
2009-10-27 13:26:36 -04:00
2009-12-06 14:13:25 -05: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%