Mike Frawley 7ec8d12d6c rename underscore methods after the native [] method names, aliases for ruby versions
Even though the native methods have worse names (forEach, every, some),
since this library is trying to smooth over the native language it makes
more sense to use the native names, and provide aliases for more sensible
names from other languages, not the other way around.

Note this doesn't change any external usage, it just makes more sense.

This should also be useful for abstraction purposes for building underscore
functions, something like:

  addFn('some', {has_native: true, our_version: function () {...}})

this way we could feature detect on load for native versions and build a
function, and also have the option to turn off native versions for testing
our implementation.

I Also standardized the comments to look like:
  Delegates to JavaScript 1.x's native y if available.
2010-02-17 09:23:38 -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%