Commit Graph

18 Commits

Author SHA1 Message Date
Jeremy Ashkenas
39119065dc Adding _.once ... Issue #121 2011-03-20 19:32:20 -04:00
Jeremy Ashkenas
52916aad87 Merge branch 'master' of https://github.com/TrevorBurnham/underscore 2011-03-20 19:26:52 -04:00
Kit Goncharov
4869b4c6ca Issue #150: _.bind should allow binding functions to falsy values. 2011-03-20 09:36:44 -06:00
Adam Craven
9c9731e08e Added support for ECMAScript 5 native bind method if available. Additional unit test to cover multiple argument binds. 2011-02-20 21:03:52 +01:00
Trevor Burnham
b39205b359 Adding _.once, for running a function once 2011-02-08 15:28:45 -05:00
lifesinger
840f19c102 bug fix for _.memoize when key is derived from prototype 2011-01-17 14:57:02 +08:00
Jeremy Ashkenas
3a113d2d88 Issue #79. Correctly setting 'this' in '_.wrap' 2010-12-13 16:25:55 -05:00
Jeremy Ashkenas
70d760f4f5 merging in jasondavies isEqual patch for wrapped objects. 2010-12-03 10:03:30 -05:00
Jeremy Ashkenas
6b8bb0cacd Better Underscore isType checking, in the presence of Internet Explorer host objects, which are a bit touchy. 2010-12-01 10:25:55 -05:00
Jeremy Ashkenas
9e3e067f50 Initial draft of _.throttle and _.debounce 2010-11-30 11:41:48 -05:00
Jeremy Ashkenas
29e2c832bc Underscore 1.0.4, with _.memoize 2010-06-22 09:21:03 -04:00
Jeremy Ashkenas
39001bd029 API changes: _.bindAll now takes the context object as the first parameter, instead of the last, and _.functions (_.methods) now takes an explicitreceiver, returning a list of its methods 2009-12-06 23:54:41 -05:00
Jeremy Ashkenas
9d4e34e19e testing bind without context 2009-11-07 23:24:12 -05:00
Jeremy Ashkenas
4f0afda61c adding OO-style object wrapping (thanks macournoyer) -- now you can to _(array).each(); 2009-11-07 12:39:59 -05:00
Jeremy Ashkenas
4a83fcdd26 version 0.2.0 is out, with inject -> reduce, JS standard methodname aliases, a compose(), and a lastIndexOf() 2009-10-28 18:49:50 -04:00
Jeremy Ashkenas
4c41af41e6 first batch of documentation 2009-10-26 16:07:09 -04:00
Jeremy Ashkenas
d229e822e7 added an _.zip() 2009-10-26 09:15:14 -04:00
Jeremy Ashkenas
5c46c60b06 finished off the complete test suite for underscore -- let's polish off the corners and provide some docs 2009-10-26 08:40:14 -04:00