John-David Dalton eecb6986ee Cleanup _.sample and add missing dependency.
Former-commit-id: 428bbdb266bd1d66119007ed6121c3f810bd2cd1
2013-08-18 07:23:38 -07:00
2013-08-16 00:26:41 -07:00
2013-08-12 00:04:43 -07:00
2013-08-17 08:15:42 -07:00
2013-08-16 00:31:10 -07:00
2013-06-30 23:56:44 -07:00
2013-06-30 23:56:44 -07:00
2013-06-15 16:56:15 -07:00
2013-06-12 07:54:39 -07:00
2013-04-28 00:18:37 -07:00

Lo-Dash v1.3.1

A utility library delivering consistency, customization, performance, & extras.

Download

CDN copies are available on cdnjs & jsDelivr.
For smaller file sizes, create custom builds with only the features needed.

Dive in

Theres plenty of documentation, unit tests, & benchmarks.

For a list of upcoming features, check out our roadmap.

Features not in Underscore

Resources

  • Posts
  • Videos

Support

Tested in Chrome 528, Firefox 222, IE 6-10, Opera 9.25~15, Safari 3-6, Node.js 0.4.8-0.10.15, Narwhal 0.3.2, PhantomJS 1.9.1, RingoJS 0.9, & Rhino 1.7RC5.

Installation & usage

In browsers:

<script src="lodash.js"></script>

Using npm:

npm install lodash

npm install -g lodash
npm link lodash

In Node.js & Ringo:

var _ = require('lodash');
// or as an Underscore replacement
var _ = require('lodash/dist/lodash.underscore');

Notes:

  • Dont assign values to special variable _ when in the REPL
  • If Lo-Dash is installed globally, run npm link lodash in your projects root directory before requiring it
  • Node.js 0.10.8-0.10.11 have bugs preventing minified builds

In Rhino:

load('lodash.js');

In an AMD loader:

require({
  'paths': { 'underscore': 'path/to/lodash' }
},
['underscore'], function(_) {
  console.log(_.VERSION);
});

Release Notes

v1.3.1

  • Added missing cache property to the objects returned by getObject
  • Ensured maxWait unit tests pass in Ringo
  • Increased the maxPoolSize value
  • Optimized releaseArray & releaseObject

The full changelog is available here.

BestieJS

Lo-Dash is part of the BestieJS “Best in Class” module collection. This means we promote solid environment support, ES5+ precedents, unit testing, & plenty of documentation.

Author

twitter/jdalton
John-David Dalton

Contributors

twitter/kitcambridge twitter/mathias
Kit Cambridge Mathias Bynens
Description
No description provided
Readme MIT 52 MiB
Languages
JavaScript 97.2%
HTML 2.3%
EJS 0.5%