Commit Graph

308 Commits

Author SHA1 Message Date
Aseem Kishore
de50fc4607 Add test case for invoke w/ function reference. 2011-03-25 12:06:10 -07:00
Jeremy Ashkenas
a9ac8b11f8 Documenting zip as transpose. Issue #161 2011-03-25 09:46:28 -04:00
Jeremy Ashkenas
6d4b76705d we're reserving nativeBind ... we should be actually using it. 2011-03-22 15:48:09 -04:00
Jeremy Ashkenas
2498bccb50 changing order of operations to force an errror when _.bind -ing null or undefined values. 2011-03-22 10:44:07 -04:00
Jeremy Ashkenas
c5ba702542 Underscore.js 1.1.5 2011-03-20 20:20:08 -04:00
Jeremy Ashkenas
065dcbb27b Documenting _.once 2011-03-20 20:02:52 -04:00
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
Jeremy Ashkenas
dfaf6a3c65 s/Packed/Minified. Issue #136 2011-03-20 19:06:56 -04:00
Jeremy Ashkenas
d71f4808c1 Issue #137. Docs for memoize. 2011-03-20 19:05:03 -04:00
Jeremy Ashkenas
866cd35236 merging in michaelficarra's issue95 2011-03-20 18:50:56 -04:00
Jeremy Ashkenas
25457982a8 new version of qunit ... fixing up tests. 2011-03-20 18:21:49 -04:00
Kit Goncharov
48abcd84c5 Issue #149: _.keys should throw a TypeError for non-objects. 2011-03-20 10:08:32 -06:00
Kit Goncharov
4869b4c6ca Issue #150: _.bind should allow binding functions to falsy values. 2011-03-20 09:36:44 -06:00
Michael Ficarra
1f2c9c5fc1 added regression test for issue #95 2011-03-04 10:15:48 -05:00
Jeremy Ashkenas
59ef91ee80 making interpolate/evaluate more clear. 2011-02-28 11:36:14 -05:00
Jeremy Ashkenas
513d322525 Merging in the native bind branch. 2011-02-28 10:54:12 -05:00
Jeremy Ashkenas
85460fef61 Merge branch 'master' of https://github.com/AdmCrvn/underscore 2011-02-28 10:52:56 -05:00
Jeremy Ashkenas
78596866ab merging maw's doc patch. 2011-02-28 10:44:45 -05:00
Adam Craven
095400d094 Use existing alias for function bind. 2011-02-22 13:43:39 +01:00
Adam Craven
b65d647de8 updated bind method to stop un-needed variable assignment when using native method. 2011-02-20 22:24:29 +01:00
Adam Craven
468160204d Updated 'bind' documentation to reflect native support. 2011-02-20 21:19:46 +01:00
Adam Craven
ebde2daa4a Updated 'bind' documentation to reflect native support. 2011-02-20 21:07:14 +01: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
Michael Wolf
ee9df31b17 point out that you can use print() inside of js code inside of templates 2011-02-08 15:58:39 -06:00
Trevor Burnham
b39205b359 Adding _.once, for running a function once 2011-02-08 15:28:45 -05:00
Jeremy Ashkenas
226b7d9344 Adding _.defaults, Issue #106 2011-02-01 21:19:58 -05:00
Jeremy Ashkenas
d0faeb53c1 Merge branch 'master' of github.com:documentcloud/underscore 2011-02-01 20:22:47 -05:00
Jeremy Ashkenas
bdfd71021d greet, exclaim -> exclaim, greet. Issue #110 2011-02-01 20:22:45 -05:00
Samuel Clay
7aaf3616df Issue #107: Fixing issue with _.first([1,2,3], 0) returning first element instead of empty array. 2011-01-27 11:38:06 -05:00
Jeremy Ashkenas
6b4fe66f09 Merge branch 'gh-pages' 2011-01-18 16:49:31 -05:00
Jeremy Ashkenas
659ec2c16c fixing Underscore.string link to new maintainer. 2011-01-18 16:46:17 -05:00
Jeremy Ashkenas
2f369f8eca Fixing #95 ... Maloptimization of _.keys for sparse arrays. 2011-01-18 16:34:33 -05:00
Jeremy Ashkenas
49787c212d merging lifesinger's clarified range. 2011-01-18 15:48:13 -05:00
lifesinger
6c2693a5ea improve arguments overloading in _.range method 2011-01-18 10:01:36 +08:00
lifesinger
840f19c102 bug fix for _.memoize when key is derived from prototype 2011-01-17 14:57:02 +08:00
lifesinger
52f66a807c remove unused code and avoid variable redeclaration 2011-01-17 14:48:43 +08:00
Jeremy Ashkenas
f03d5fa57c Underscore 1.1.4 is on the books. 2011-01-09 14:03:45 -05:00
Jeremy Ashkenas
fad002de53 trying to avoid obj.callee (strict mode) 2010-12-21 00:26:25 -05:00
Jeremy Ashkenas
b3a373a716 safer but slower toArray fallback, in light of .callee throwing in strict mode. 2010-12-20 17:39:57 -05:00
Jeremy Ashkenas
a890afec18 Issue #83 ... typo. 2010-12-20 17:06:24 -05:00
Jeremy Ashkenas
422d35438c updating _.isNaN comment doc. 2010-12-20 16:52:24 -05:00
Jeremy Ashkenas
2dff99d518 switching to canonical isNaN 2010-12-20 16:42:54 -05:00
Jeremy Ashkenas
d2d6cfe667 Rework of #68, to use a flag to indexOf, instead of a separate function. 2010-12-17 10:57:12 -05:00
Jeremy Ashkenas
8c2570b0ba Issue #68. Adding _.sortedIndexOf 2010-12-17 10:35:53 -05:00
Jeremy Ashkenas
3a113d2d88 Issue #79. Correctly setting 'this' in '_.wrap' 2010-12-13 16:25:55 -05:00
Jeremy Ashkenas
9a9f2a85da Merge branch 'master' of http://github.com/ryantenney/underscore 2010-12-13 10:31:05 -05:00
Ryan W Tenney
cdcf18b79c Improve compliance with Array methods in ES5 when passed a null value. (ES5 Array methods treat null like []) 2010-12-06 23:36:54 -05:00
Ryan W Tenney
8f86e3eb67 Improve compliance with Array methods in ES5 when passed a null value. (ES5 Array methods treat null like []) 2010-12-06 23:30:43 -05:00
Ryan W Tenney
ebe0cc6f45 Access the _wrapped property directly instead of calling value() when unwrapping wrapped objects in isEqual() 2010-12-03 14:34:25 -05:00