Brad Dunbar
5c6abc4453
short circuit isEmpty for null/undefined
2012-01-30 10:15:04 -05:00
Jeremy Ashkenas
bdb3cb21f9
fixing isObject documentation.
2012-01-30 10:01:08 -05:00
Jeremy Ashkenas
018efa56f2
Merge pull request #446 from bjh/master
...
documentation for _.isObject
2012-01-30 06:58:28 -08: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
Jeremy Ashkenas
4540feaa1f
Merge pull request #444 from mark-rushakoff/uniqueid-doc
...
Clarify docs: return value of uniqueId
2012-01-26 06:24:09 -08:00
Mark Rushakoff
ae3720d200
Clarify docs: return value of uniqueId
2012-01-25 20:59:27 -08:00
Jeremy Ashkenas
3512e7fc5c
Fixes #435 -- allows _.max and _.min on arrays of dates without converting them to numbers.
2012-01-24 10:40:20 -05: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
cdf43ea742
Fixes #429 -- don't escape slash escapes in the body of interpolations...
2012-01-23 17:33:48 -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
5ed8b6e6ce
using a cached reference to hasOwnProperty (again)
2012-01-23 16:05:56 -05:00
Jeremy Ashkenas
f1ecedf64a
Merge pull request #440 from arlolra/has
...
has
2012-01-23 13:03:56 -08:00
Jeremy Ashkenas
f6a1b97426
Merge branch 'master' of github.com:documentcloud/underscore
2012-01-23 15:48:53 -05:00
Jeremy Ashkenas
99c17c4a0d
reverting an old change -- _.extend should absolutely copy undefined values.
2012-01-23 15:48:35 -05:00
Arlo Breault
3898597b12
has
2012-01-18 20:34:54 -08:00
Jeremy Ashkenas
9c88b72362
Merge pull request #433 from petejkim/master
...
added "collect" alias for "map"
2012-01-13 09:01:23 -08:00
Peter Jihoon Kim
978255b778
added "collect" alias for "map"
2012-01-14 00:57:41 +08:00
Jeremy Ashkenas
dd09162b8c
Underscore.js 1.3.0
2012-01-11 11:41:14 -05:00
Jeremy Ashkenas
0d4b1247c4
Removing AMD 'support' from Underscore.
2012-01-11 11:17:40 -05:00
Jeremy Ashkenas
0b74f2d665
Revert "Revert "New Underscore.js website (sans extra images)""
...
This reverts commit c1b62d7ea1 .
2012-01-09 15:40:43 -05:00
Jeremy Ashkenas
c1b62d7ea1
Revert "New Underscore.js website (sans extra images)"
...
This reverts commit c84968ba6a .
2012-01-09 15:39:10 -05:00
Jeremy Ashkenas
8905ac64f9
Merge pull request #424 from tricknotes/package-format
...
Modify type of `dependencies` at package.json
2012-01-09 09:21:50 -08:00
Jeremy Ashkenas
38b78e4e52
fixing README for github
2012-01-09 12:19:20 -05:00
Ryunosuke SATO
ce01895ab1
remove dependencies from package.json
2012-01-10 02:07:26 +09:00
Jeremy Ashkenas
0ee09ff97f
fixing an orphan in the first graf
2012-01-04 18:04:00 -05:00
Jeremy Ashkenas
c84968ba6a
New Underscore.js website (sans extra images)
2012-01-04 17:59:14 -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
Jeremy Ashkenas
ecef23c1cb
Merge pull request #417 from alanhogan/patch-1
...
Extends definitions of throttle & debounce to make usage extra-clear.
2012-01-04 12:10:56 -08:00
Jeremy Ashkenas
62c814d9fe
Fixes #408 : _.chain(object) as well as _(object).chain()
2011-12-30 15:07:22 -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
Jeremy Ashkenas
66bb646be7
Merge pull request #415 from HSSC/master
...
use _.isFunction in _.invoke
2011-12-22 11:43:52 -08:00
fredericksgary
2206092e25
Use _.isFunction so ClojureScript doesn't break underscore
...
Clojurescript adds a call method to strings, so passing a string to
_.invoke produces the wrong behavior.
2011-12-22 14:38:34 -05:00
Vladimir Chernis
6baf8e877b
doc for bind: currying -> partial application
2011-12-22 11:26:44 -08:00
Jeremy Ashkenas
e58af52060
Merge pull request #410 from foobarfighter/wrap-bug-fix
...
Fixes #409 - Unexpected arguments passed to wrapper function in _.wrap when the first argument of calling the wrapped function is an array
2011-12-20 04:47:29 -08:00
Bob Remeika
5ca27ffed1
Fixes #409 - Unexpected arguments passed to wrapper function in _.wrap when the first argument of calling the wrapper function is an array
2011-12-20 01:51:51 -08:00
Jeremy Ashkenas
b4a38439ce
Merge pull request #401 from Stuk/template_js_fix
...
Fix escaped chars in Javascript in templates
2011-12-16 10:09:48 -08:00
Jeremy Ashkenas
b27ed66d77
Fixes #397
2011-12-16 12:47:46 -05:00
Jeremy Ashkenas
3c5686f784
Fixes #403
2011-12-16 12:41:20 -05:00
Jeremy Ashkenas
eb42c856c4
Fixes #406
2011-12-16 10:05:32 -05:00
Stuart Knightley
c8ecb47765
Templating fix for when an escaped character is used in Javascript
...
If an escaped character (e.g. \n) is used in embedded Javascript inside
a template then it gets escaped to \\n. If someone has put an escaped
character in their JS then they probably want it left that way.
This commit replaces \\s with a single \ when inside evaluation tags,
reverting the previous template escaping.
2011-12-08 11:36:20 -08:00
Stuart Knightley
81cb0d3a86
Add failing test for Javascript in templates
...
Uses an escaped character in Javascript embedded in a template. Gets
incorrectly replaced when templating.
2011-12-08 11:33:31 -08:00