Brian Haveri
eda751a2a4
Added link to Underscore.php in the docs
2011-08-09 11:57:55 -04:00
Jeremy Ashkenas
c7d4810ed6
Merge branch 'master' into gh-pages
2011-07-13 17:05:25 -04:00
Jeremy Ashkenas
9e8fc83040
fixing silly typo.
2011-07-13 17:05:20 -04:00
Jeremy Ashkenas
2462717424
resolving merge conflict
2011-07-13 17:02:59 -04:00
Jeremy Ashkenas
39b07d7b2c
Underscore.js 1.1.7
2011-07-13 17:02:12 -04:00
Jeremy Ashkenas
c1a556216e
Revert "Edited underscore.js via GitHub"
...
This reverts commit 47fb3d7f9c .
2011-07-13 15:57:52 -04:00
Jeremy Ashkenas
a6cba6885e
Revert "merging in faster indexOf patch ... arguably faster than the native implementation, but oh well. #245 "
...
This reverts commit f099038a9d .
2011-07-13 15:57:42 -04:00
Jeremy Ashkenas
f099038a9d
merging in faster indexOf patch ... arguably faster than the native implementation, but oh well. #245
2011-07-13 15:12:50 -04:00
limeblack
47fb3d7f9c
Edited underscore.js via GitHub
2011-07-13 11:19:34 -07:00
Jeremy Ashkenas
7eb7b08f71
reverting a non-important change that broke reduceRight in IE.
2011-07-13 12:58:36 -04:00
Jeremy Ashkenas
19beb29283
Revert "Issue #103 , change initial value detection for reduce()"
...
This reverts commit 174c897fce .
2011-07-13 12:57:51 -04:00
Jeremy Ashkenas
347d7297f3
function formatting.
2011-07-13 12:41:17 -04:00
Jeremy Ashkenas
779a28d59a
Merge branch 'underscore.any' of https://github.com/shinuza/underscore
2011-07-13 12:40:08 -04:00
Jeremy Ashkenas
7573ac7751
Unit tests for sparse arrays.
2011-07-13 12:36:27 -04:00
Jeremy Ashkenas
5edc3761c6
Issue #209 , fix reduce without a memo for arrays that are sparse at the beginning.
2011-07-13 12:27:11 -04:00
Jeremy Ashkenas
174c897fce
Issue #103 , change initial value detection for reduce()
2011-07-13 12:21:08 -04:00
Jeremy Ashkenas
cd236d4c47
Issue #243 . _.functions now also returns the names of function defined in the prototype chain.
2011-07-13 11:09:51 -04:00
Jeremy Ashkenas
727db393d5
Amending length check as discussed in 942d63
2011-07-12 17:01:04 -04:00
Jeremy Ashkenas
0ec859a142
Issue #225 , adding _.union, _.difference, to complement _.without and _.intersection.
2011-07-12 16:48:30 -04:00
Jeremy Ashkenas
942d63129b
Fixing silly commit. Thanks @cirwin
2011-07-12 15:27:42 -04:00
Jeremy Ashkenas
fbae682e8f
fixing comment for #239
2011-07-12 15:23:23 -04:00
Jeremy Ashkenas
5eaf71f101
removing somewhat silly isNumber check.
2011-07-12 15:22:39 -04:00
Jeremy Ashkenas
0b52dfbbef
Merge pull request #233 from chaoflow/master
...
make toArray return a clone in case of an array
2011-07-06 13:35:54 -07:00
Florian Friesdorf
9ab3ac44bb
move underscore test into a div
...
more comfortable to include underscore with tests in some other project.
2011-06-25 09:09:55 +02:00
Florian Friesdorf
0202f9f79b
make toArray return a clone in case of an array
...
In combination with backbone this makes coll.toArray() return an array
instead of just returning coll.models, enabling
coll.remove(coll.toArray()) whithout failing half way through.
2011-06-21 18:31:40 +02:00
Jeremy Ashkenas
96dbdaf929
Merge pull request #228 from DmitryBaranovskiy/master
...
Fixed isEqual and added isObject
2011-06-20 15:50:54 -07:00
Jeremy Ashkenas
dd31d36ec2
Merge pull request #232 from CatChen/master
...
Use setTimeout to verify _.delay's behavior in unit test
2011-06-20 15:43:22 -07:00
Cat Chen
b949d0345f
updated _.delay test to use setTimeout to verify _.delay's behavior
2011-06-20 22:30:35 +08:00
Dmitry Baranovskiy
42487bf47d
Fixed isEqual if second object has isEqual implemented and added isObject method
2011-06-07 09:48:34 +10:00
shinuza
40af1652eb
Modified any/some test case to demonstrate issue #177
...
Fixed any/some formatting to be consistent with the rest of underscore.js
2011-05-20 09:13:58 +02:00
Jeremy Ashkenas
cf6cc16f43
Issue #207 -- add Data.js to the docs.
2011-05-13 17:09:15 -04:00
Jeremy Ashkenas
bf6098f986
closure-compiler comment, plus semicolons.
2011-05-11 13:08:59 -04:00
Jeremy Ashkenas
379d177a7e
Merge pull request #203 from ded/latest
...
set "_" extern for use with Closure Compilers ADVANCED_OPTIMIZATIONS
2011-05-11 10:06:45 -07:00
Jeremy Ashkenas
1331d814f9
re-adding underscore-min.js to master
2011-05-11 11:02:51 -04:00
Jeremy Ashkenas
910af6797f
Fixing #185
2011-05-11 11:00:15 -04:00
Jeremy Ashkenas
7bc1c9fb0d
Merge pull request #192 from dannytatom/docs-typo
...
Should be 'A convenient,' not 'An convenient'
2011-05-11 07:42:47 -07:00
Jeremy Ashkenas
057da5bc82
Issue #202 ... fallback method for sparse arrays.
2011-05-11 10:27:52 -04:00
Dustin Diaz
72c5558471
set "_" extern for use with Closure Compilers ADVANCED_OPTIMIZATIONS
2011-05-10 23:09:26 -07:00
Jeremy Ashkenas
5951d354af
Merge pull request #198 from shinuza/underscore.groupBytest
...
groupBy tests may fail in some cases.
2011-05-08 19:41:07 -07:00
shinuza
5141a51298
Refactored fix as suggested in
...
https://github.com/documentcloud/underscore/issues/177
2011-05-07 16:29:43 +02:00
shinuza
899000c217
Hashmap keys are not necessarily ordered. groupBy test may fail if the
...
expected order is not correct.
Fixing this by checking if the keys are present in the hash so
the order is not deterministic.
2011-05-07 12:03:02 +02:00
shinuza
6846d71f88
Fixing _.any returning an incorrect result when Array.prototype.some is
...
missing but Array.prototype.forEach exists.
2011-05-07 11:24:05 +02:00
Jeremy Ashkenas
961f554767
Merge pull request #195 from ascheink/master
...
Added _.groupBy
2011-05-05 11:45:28 -07:00
Andrei
1681d25063
in groupBy, also pass index to iterator.
2011-05-05 14:43:28 -04:00
Andrei
b75e48c057
cleaned up key check in groupBy
2011-05-05 14:31:40 -04:00
Andrei
f8a4b78a86
Adding groupBy.
2011-05-05 14:00:40 -04:00
Danny Tatom
efa717b09e
Should be 'A convenient,' not 'An convenient'
2011-05-03 17:29:21 -07:00
Jeremy Ashkenas
a3b8f9edb1
Merge branch 'master' into gh-pages
2011-04-24 11:41:45 -04:00
Jeremy Ashkenas
c174663ea3
fixing docs for 'all'
2011-04-24 11:41:31 -04:00
Jeremy Ashkenas
bf87d8997c
1.1.6 + min
2011-04-18 09:09:25 -04:00