2860 Commits

Author SHA1 Message Date
John-David Dalton
9b26b96836 Implement a more robust native function detection. [Krinkle]
Former-commit-id: 8d915a0dd12f08e1860122189b57b12382efb144
2012-05-09 02:14:03 -04:00
John-David Dalton
972a716600 Small change to _.max.
Former-commit-id: ee7a5a78087ce8a92b06b7cd542903433053e649
2012-05-09 02:02:29 -04:00
John-David Dalton
45f9d80a81 Move _.max and _.min to the "Arrays" category and verify unit tests, rework _.isEqual [[DontEnum]] fix, and cleanup iteratorTemplate,
Former-commit-id: 9f4700b9db5767f314a44d6a83a3552d58ae6872
2012-05-09 01:05:47 -04:00
John-David Dalton
98435d2d92 Remove debug and tweak template whitespace for pretty printing.
Former-commit-id: 1f00899af1210dd367718aad4db38453509747c2
2012-05-08 17:34:13 -04:00
John-David Dalton
ccbf965bd9 Cleanup iterator template, make _.isEqual avoid the JScript [[DontEnum]] bug and add unit tests.
Former-commit-id: 1325f2184a8572ba688bcf697892782b8a0972e7
2012-05-08 17:11:32 -04:00
John-David Dalton
5c82104d7b Cleanup code and rework the pre-compile step.
Former-commit-id: cb62236ee0396e5e08defcbfee526265f9cf042e
2012-05-08 12:15:01 -04:00
John-David Dalton
4c29fbb36d lodash: Cleanup compilation. [jddalton]
Former-commit-id: e51b6742db1aeb103534d98c8354c65454d25a23
2012-05-08 10:29:36 -04:00
John-David Dalton
88e754850d lodash: Fix JSDoc entries, rename private constructor Lodash to LoDash, and optimize wrapper methods. [jddalton]
Former-commit-id: 1a2541900aa93c4c19c1eee12132bce89200b564
2012-05-07 13:58:51 -04:00
John-David Dalton
98942c5e1a lodash: Simplify reUnescaped. [jddalton]
Former-commit-id: 5daf301fb60580248d765f5d3d49e10e9fa7104b
2012-05-07 00:47:27 -04:00
John-David Dalton
9c54df2de5 lodash: Add unit tests for buggy shift and splice in IE. [jddalton]
Former-commit-id: 574e4adcd024ef667302e97fffebc9bee5cbfacf
2012-05-06 22:40:58 -04:00
John-David Dalton
f31c2d24f9 lodash: Add the JScript [[DontEnum]] and Firefox, Opera, and Safari "prototype" property iteration fixes to iterationFactory. [jddalton]
Former-commit-id: f5be5c1e0828c3850936ba13ce19d0bfb8988d05
2012-05-06 22:16:03 -04:00
John-David Dalton
52cf17b24a lodash: Ensure max and min do not error when computing the result of massive arrays. [cederberg, jddalton, jeeyoungk]
Former-commit-id: af982790c3bb62777523f972a95b7115fb645180
2012-05-06 19:38:15 -04:00
John-David Dalton
d26fc7154c lodash: Add partial. [closes #5] [gf3, jddalton]
Former-commit-id: 7f95e60e93d463aeac936bcf0868fe2cb5494d6e
2012-05-06 19:17:13 -04:00
John-David Dalton
14c8863657 lodash: Add native method overwrite detection and optimize bind for native bind. [jddalton]
Former-commit-id: d968957e494fb828df155d2f9b0d3faf24e38b5e
2012-05-06 17:57:39 -04:00
John-David Dalton
6d3d5f77bc lodash: Add comments explaining the iterationFactory options object. [jddalton]
Former-commit-id: a5869f89b25b22b661c9f997dc96029ea0c82dbc
2012-05-06 00:05:04 -04:00
John-David Dalton
293fc695a4 lodash: Update documentation and submodules. [jddalton]
Former-commit-id: 9948b9ad5b2dc34a8f442e881f1d75178622364f
2012-05-03 14:28:13 -04:00
John-David Dalton
a317d2471f lodash: Add whitespace to strings. [jddalton]
Former-commit-id: ea4e6a6a894bb596be61df59239bc7f8c2ecd75d
2012-05-03 10:50:27 -04:00
John-David Dalton
afe7ff6d2c lodash: Tweak comment. [jddalton]
Former-commit-id: 309c501800ab2a6234992dafe629a6cd9f8f20ad
2012-05-03 10:42:28 -04:00
John-David Dalton
2f908870e7 lodash: Cleanup template. [jddalton]
Former-commit-id: 286af73ea3a4d798afd4baa01e586ada0305e66b
2012-05-03 10:12:45 -04:00
John-David Dalton
1a1bd5322c lodash: No longer have escape translate the ">" character. [jddalton, mathiasbynens]
Former-commit-id: 58d8ef98f3699a62b57a460b45921785fa2440b0
2012-05-03 00:45:21 -04:00
John-David Dalton
04ca0ae309 lodash: Cleanup code. [jddalton, mathiasbynens]
Former-commit-id: 639655426b7b928ca756993227bc6f80484deae2
2012-05-03 00:31:25 -04:00
John-David Dalton
221f70e609 lodash: Optimize template. [jddalton]
Former-commit-id: 2cd61549491714e6796308ec437fa8dff8fa9a1b
2012-05-03 00:23:57 -04:00
John-David Dalton
d5e2489cad lodash: Make deb ounce match throttle's return value behavior. [jddalton]
Former-commit-id: 2d4073c8a2ba20b98344c19cbfaf388a2683ef19
2012-05-01 21:13:02 -04:00
John-David Dalton
367f0bd6a9 lodash: Optimize and simplify throttle. [cowboy, jddalton]
Former-commit-id: 52e19aeb8671e86a13bf54876bf1f3f1b4644437
2012-05-01 21:11:40 -04:00
John-David Dalton
8396ed3167 lodash: Simplify first argument checks in "Collections" methods. [jddalton]
Former-commit-id: f3b658acccc20d864cf4987f2d2473453297a1c8
2012-05-01 10:47:15 -04:00
John-David Dalton
24d5fbb595 lodash: Add support for "lazy" bind. [jddalton]
Former-commit-id: 472c0436f7de4e636dd878900119008bf39592fa
2012-05-01 00:34:40 -04:00
John-David Dalton
6fb7681a2d lodash: Reduce functions created in debounce and throttle and make each work when called recursively. [int3, jddalton]
Former-commit-id: 8d8d1966f7b8710d1bd51c830c4d3c08643ba21a
2012-05-01 00:05:26 -04:00
John-David Dalton
0b404d4bb1 lodash: Avoid extraneous empty array in pick. [jddalton]
Former-commit-id: 581eb1264aed6f0904d794cad53462ae80a1c3d0
2012-04-30 23:26:12 -04:00
John-David Dalton
464826e81d lodash: Move sortedIndex to the "Arrays" category. [jddalton]
Former-commit-id: fb9d6afc3c805ac25c8e6e7968fdcb4e8da93d30
2012-04-30 23:22:49 -04:00
John-David Dalton
e871ffeff0 lodash: Cleanup flatten avoiding the use of an extraneous empty array. [jddalton]
Former-commit-id: 6a1eebceb77dd59d34659a295c4a7a2dce92e8a9
2012-04-30 22:51:14 -04:00
John-David Dalton
2847b1f08e lodash: Move shuffle to the "Arrays" category and optimize. [jddalton]
Former-commit-id: 6f08cc15a5a1b0197e080d5fc21309b84cabaf6a
2012-04-30 22:49:29 -04:00
John-David Dalton
d702e00446 lodash: Optimize intersection. [jddalton]
Former-commit-id: f15eb7429ab4f14a4b096f5ba72f3662f9ed23d7
2012-04-30 22:32:07 -04:00
John-David Dalton
8dc3fb86db lodash: Tweak map's result assignment. [jddalton]
Former-commit-id: eb047e50e485fb1df387648fc1815e405b9d18ef
2012-04-27 01:11:48 -04:00
John-David Dalton
358ec3fb39 lodash: Inline isFunction calls. [jddalton]
Former-commit-id: d2929d4cbc1f2fb32dc94deba9dc44e5d51b4235
2012-04-27 00:43:42 -04:00
John-David Dalton
59c26957bb lodash: Optimize uniq and union, and inflate methods in the "Arrays" category. [jddalton]
Former-commit-id: b54d0bc2a77d1589d4b53b20a2f5ec175ab6c5cc
2012-04-26 23:33:53 -04:00
John-David Dalton
adcc2dd8d2 lodash: Simplify _.keys fallback. [jddalton]
Former-commit-id: 15d265f4f16ab2418bb5dcddf68a2fd43ebdf5b2
2012-04-26 15:46:47 -04:00
John-David Dalton
947fc9ce97 lodash: Fix syntax error in IE < 9 related to return throw …. [jddalton]
Former-commit-id: 8de2886801d447d6c0db119fe061d2fafd49958b
2012-04-26 11:29:13 -04:00
John-David Dalton
520d09e81e lodash: Avoid an extra callback call in the sortedIndex while loop. [jddalton, spadgos]
Former-commit-id: 87228c7308475f9430e5bcb0bc0d647b2210388f
2012-04-26 09:05:45 -04:00
John-David Dalton
7fa4304097 lodash: Change invoke's category to "Arrays". [jddalton]
Former-commit-id: e8e176bacf72f721fce62630984778e4d2ff08be
2012-04-26 01:27:50 -04:00
John-David Dalton
1d4ce28b62 lodash: Remove unused afterLoop iterationFactory option, optimize sortedIndex, and optimize exiting early from compiled functions. [jddalton]
Former-commit-id: f56c93bfed623c5100d7cdf1c0d30b1e557d8a97
2012-04-26 01:10:45 -04:00
John-David Dalton
a551992c3f lodash: Remove unneeded slice call in pick. [jddalton, sindresorhus]
Former-commit-id: fbc5e2d918f31d2cd59bb9708c055c60592add10
2012-04-25 14:22:32 -04:00
John-David Dalton
23b8d083a4 lodash: Add spaces to compiled / template strings. [jddalton]
Former-commit-id: e28bb94dfb8f315f62dd942765752739f30950dc
2012-04-25 14:19:44 -04:00
John-David Dalton
313ffb8821 lodash: Add thisArg to groupBy and optimize invoke. [jddalton]
Former-commit-id: 74b0105af083471a56d60ac423409ae39e17d44a
2012-04-25 00:08:46 -04:00
John-David Dalton
774f159e67 lodash: Optimize groupBy, union, and pick. [jddalton]
Former-commit-id: 5109fd3868751f34f5a54ebafdbd43fa26f96754
2012-04-24 23:12:08 -04:00
John-David Dalton
f9358531ad lodash: Add support for more AMD build optimizers and allow aliasing as the "underscore" module. [jddalton]
Former-commit-id: 6b3fa45d19f6a55aa7565bcb4d9221f6f159e9c9
2012-04-24 18:15:47 -04:00
John-David Dalton
e0971cd02c lodash: Cleanup build.js. [jddalton]
Former-commit-id: 4d044d708e78e8d0f8e869319f4c2c27cfa5e5f6
2012-04-24 02:27:18 -04:00
John-David Dalton
2d6b90f476 lodash: Cleanup comments. [jddalton]
Former-commit-id: a891164706f758102f56f8a41272f2c4c1c14cc9
2012-04-23 23:54:54 -04:00
John-David Dalton
f1c9b622ba lodash: Add comments to iterationFactory. [jddalton]
Former-commit-id: 20e591a9f18a4433d3974694698445667677394e
2012-04-23 23:47:46 -04:00
John-David Dalton
efff2a63c3 lodash: Fix clearTimeout typo. [closes #3] [jddalton, pdokas]
Former-commit-id: 4fc6e4de59483eaea4a47a653ce16176a30adab5
2012-04-23 19:10:00 -04:00
John-David Dalton
f58386b391 lodash: Cleanup compiled code and check for a toArray method on objects before others in _.toArray. [jddalton]
Former-commit-id: 9fdde9bbbecd0480e7d3d6674b43cea0810d2aed
2012-04-23 10:48:08 -04:00