Commit Graph

175 Commits

Author SHA1 Message Date
Jeremy Ashkenas
e80bbe6d03 Underscore.js 1.3.2 2012-04-09 14:37:49 -04:00
Jeremy Ashkenas
2f4e926e34 resolving merge 2012-04-09 14:11:35 -04:00
Jeremy Ashkenas
c33e1506f4 Merge branch 'master' of github.com:documentcloud/underscore 2012-04-06 16:54:29 -04:00
Jeremy Ashkenas
f081bf6f11 fixes #541 -- broken docs for tap() 2012-04-06 16:54:09 -04:00
Brad Dunbar
f50690f67e Tweak variable names. Update docs.
* Restore template.source.
* Use variable instead of varname.
* Use text for template input.
* Include settings in documentation.
2012-04-04 08:15:49 -07:00
Brad Dunbar
b04b813f02 Add varname to _.templateSettings.
* Leave out the with statement when using varname.
* Rename source to compiled.
* Comments, comments, comments.
2012-04-03 11:51:57 -07:00
Jeremy Ashkenas
719cd24aa9 adding an initial implementation of a 'pick' function. #523 2012-04-02 15:01:26 -04:00
Jeremy Ashkenas
4fa0a9f4d5 Merge pull request #523 from chrisleishman/restrict
Add _.restrict(source, *keys)
2012-04-02 11:51:56 -07:00
Jeremy Ashkenas
6f50830b25 Fixes #538 -- confusing wording around chaining. 2012-04-02 13:07:49 -04:00
Jeremy Ashkenas
dc55088cd6 trying to fix whitespace merge problems 2012-04-02 13:07:25 -04:00
Jeremy Ashkenas
548baddd31 resolving merge 2012-04-02 13:06:44 -04:00
Jeremy Ashkenas
db7d198a55 Fixes #538 -- confusing wording around chaining. 2012-04-02 13:05:52 -04:00
Chris Leishman
7c95237845 Add _.restrict(source, *keys)
Return a clone of the source with only the properties named in *keys
(either stings or arrays containing strings).

Especially useful for avoiding mass-assignment vulnerabilities.
2012-03-29 11:54:09 -07:00
Brad Dunbar
2c0ccf03ef Documentation for _.template(...).source. 2012-03-26 13:37:06 -04:00
Mislav Marohnić
0d935b0427 have sidebar scroll natively on touch devices 2012-03-26 13:42:38 +02:00
Brad Dunbar
33be5c62b8 Make a small documentation change. 2012-03-19 15:45:44 -04:00
Brad Dunbar
9a27b1b083 Clarify documentation for _.result. 2012-03-19 15:07:33 -04:00
Brad Dunbar
5c7ccb21ef Rename getValue to result. 2012-03-19 14:33:38 -04:00
Brad Dunbar
666049ac5d Add utility function getValue. 2012-03-17 13:02:17 -04:00
U-EM\mib
d84410bbe6 added favicon, closes #492 2012-02-27 11:32:46 -05:00
U-EM\mib
5677a0c6eb added favicon, closes #492 2012-02-27 17:26:26 +01:00
Jo Liss
64ed34f949 Make it clearer that extend and defaults modify in place *and* return 2012-02-06 14:14:50 +01:00
Jeremy Ashkenas
af4b86e0a6 making toArray example clearer. 2012-02-03 10:18:44 -05:00
Jeremy Ashkenas
bdb3cb21f9 fixing isObject documentation. 2012-01-30 10:01:08 -05:00
bjh
53829cbd5c added a false case for the isObject test documentation 2012-01-26 16:04:58 -05:00
bjh
7a2e45eb3a added documentation for _.isObject 2012-01-26 15:57:52 -05:00
Mark Rushakoff
ae3720d200 Clarify docs: return value of uniqueId 2012-01-25 20:59:27 -08:00
Jeremy Ashkenas
908c015631 Fixes #442 -- broken link to Objects/functions on the homepage 2012-01-24 10:33:14 -05:00
Jeremy Ashkenas
eeea70c457 Underscore 1.3.1 2012-01-23 17:56:29 -05:00
Jeremy Ashkenas
a8c956fe6a Fixes #436 -- document the second argument to _.flatten 2012-01-23 17:03:19 -05:00
Jeremy Ashkenas
d959c019f8 clarify that sortBy is ascending. 2012-01-23 16:10:49 -05:00
Jeremy Ashkenas
dd09162b8c Underscore.js 1.3.0 2012-01-11 11:41:14 -05:00
Jeremy Ashkenas
0ee09ff97f fixing an orphan in the first graf 2012-01-04 18:04:00 -05:00
Jeremy Ashkenas
2d5db78c86 New Underscore.js website 2012-01-04 17:58:42 -05:00
Jeremy Ashkenas
4946c549b2 Underscore.js 1.2.4 2012-01-04 16:17:00 -05:00
Jeremy Ashkenas
f79c5ab3e1 Merge branch 'master' of github.com:documentcloud/underscore 2012-01-04 16:00:40 -05:00
Jeremy Ashkenas
69ed6177ab Fixes #411. Partially adding _.templateSettings could break template strings containing the words 'null' or 'undefined'. 2012-01-04 16:00:36 -05:00
Jeremy Ashkenas
f7292c1566 Merge pull request #414 from vovik/master
doc for bind: currying vs partial application
2012-01-04 12:28:04 -08:00
Jeremy Ashkenas
7157d0187f removing voluminous verbose verbiage 2012-01-04 15:22:33 -05:00
Alan Hogan
3a225eada5 Typo 2011-12-23 16:48:56 -08:00
Alan Hogan
0d463de74a Extends definitions of throttle & debounce to make usage extra-clear. 2011-12-22 18:03:03 -08:00
Vladimir Chernis
6baf8e877b doc for bind: currying -> partial application 2011-12-22 11:26:44 -08:00
Jeremy Ashkenas
eb42c856c4 Fixes #406 2011-12-16 10:05:32 -05:00
Jeremy Ashkenas
813bb57bf0 Underscore.js 1.2.3 2011-12-07 10:12:08 -05:00
Zak Johnson
55cddd9475 Add missing comma to index.html 2011-11-18 19:52:35 -08:00
Jeremy Ashkenas
8c346141dc Underscore.js 1.2.2 2011-11-14 15:28:19 -05:00
Jeremy Ashkenas
135f93e520 Fixes #360, documenting _.escape. 2011-11-14 14:39:19 -05:00
Jeremy Ashkenas
bffdb50f9b Underscore.js 1.2.1 2011-10-24 14:23:36 -04:00
Jeremy Ashkenas
456a69c559 fixing documentation for throttle. 2011-10-24 11:51:47 -04:00
Jeremy Ashkenas
3fbb9bb0dd Fixes #339 -- incorrect memoization example in docs. 2011-10-19 16:15:40 -04:00