Commit Graph
255 Commits
Author SHA1 Message Date
Ilya Mochalov 1f7273c7fb lodash: added _.ceil() method 2015-07-22 23:28:09 +05:00
Masahiro Wakame 54f5b04fab Merge pull request #5007 from chrootsu/lodash-chainable-get
lodash: changed _.get() (added to the chainable wrapper)
2015-07-23 02:05:10 +09:00
Masahiro Wakame 78339176ec Merge pull request #4968 from chrootsu/lodash-value-aliases
lodash: added _.value aliases (_.run, _.toJSON)
2015-07-23 00:38:06 +09:00
Masahiro Wakame e4d0f68900 Merge pull request #4953 from chrootsu/lodash-set
lodash: added set() method
2015-07-23 00:37:48 +09:00
Ilya Mochalov f695ec7d24 lodash: changed _.get() (added to the chainable wrapper) 2015-07-21 15:47:02 +05:00
Ilya Mochalov e0167145c3 lodash: added _.value aliases (_.run, _.toJSON) 2015-07-21 14:16:56 +05:00
Ilya Mochalov d2bdc152ac lodash: added set() method 2015-07-21 14:14:50 +05:00
Michael Jerred e1e80f6ce8 Merge remote-tracking branch 'upstream/master' 2015-07-20 14:10:31 +01:00
Ilya Mochalov 1b5177dc28 lodash: changed _.values() method 2015-07-20 02:04:38 +05:00
Masahiro Wakame c8afffd16a Merge pull request #4964 from chrootsu/lodash-valuesIn
lodash: added _.valuesIn() method
2015-07-19 21:38:04 +09:00
Ilya Mochalov e6ca97a0aa lodash: added _.valuesIn() method 2015-07-19 09:28:17 +05:00
Ilya Mochalov 728600a0f4 lodash: added _.keyIn() method 2015-07-18 07:47:13 +05:00
Michael Jerred d54bab2cbc Correcting .chunk and .size 2015-07-15 12:36:17 +01:00
Masahiro Wakame ed4da2079d Merge pull request #4791 from pimterry/lodash-flatten
Fix the very broken lodash flatten() type definitions
2015-07-15 01:44:34 +09:00
Masahiro Wakame dbd5a1d029 Merge pull request #4858 from dbeckwith/master
Fixes lodash contains searching keys instead of values on objects
2015-07-15 01:43:17 +09:00
Daniel Beckwith 2f7754dceb Fixes contains searching keys instead of values on objects, also adds "includes" alias. 2015-07-07 17:49:06 -04:00
Slavo Vojacek 72bd5e2a67 Update lodash.d.ts 2015-07-06 10:02:25 +01:00
Slavo Vojacek 7eadcd7bb0 Update lodash.d.ts
Not really sure why some functions are not here at all, but I needed this one (_.fill) in one of my projects so contributing back.
2015-07-06 09:50:54 +01:00
Masahiro Wakame 2443c926d1 Merge pull request #4734 from heycalmdown/lodash
lodash: Add _.matchesProperty style to _.find
2015-07-03 21:59:14 +09:00
Tim Perry ed15e4bd38 Make _.flatten(array, bool) slightly more general 2015-07-01 16:14:31 +01:00
Tim Perry 36f2158f0c Fix _().flatten() - remove non-existent methods, small type improvement
Previously type was too specific, and thereby often wrong. It's now less
specific, but never wrong.
2015-07-01 14:58:39 +01:00
Tim Perry 37c7620008 More specific _.flatten type, remove types for non-existent methods 2015-07-01 14:45:36 +01:00
heycalmdown 839ae68663 lodash: Comments for _.detect 2015-07-01 12:34:43 +09:00
nfantone 4be7a74f86 Change LoDashArrayWrapper -> LoDashWrapper in sample() chaining 2015-06-28 01:33:30 -03:00
heycalmdown 78b83e0c23 lodash: Add _.matchesProperty style to _.find 2015-06-25 09:12:31 +09:00
nfantone 7da2851ffc Add sample() to LoDashArrayWrapper interface 2015-06-14 18:32:45 -03:00
Masahiro Wakame 0039c27f18 Merge pull request #4494 from daptiv/90296-fte-rounding
Add in _.mapValues definitions for use in chains
2015-06-08 01:42:48 +09:00
Masahiro Wakame 1db3808ae3 Merge pull request #4562 from kkolstad/lodash-typed-remove
lodash: add generic _.remove
2015-06-08 01:33:53 +09:00
Kenneth Kolstad ed5be30e62 lodash: add generic _.remove 2015-06-05 15:48:45 -07:00
Adam Kalman 18fdbd98c7 90296 add and fix tests
add in a test for the new code, and make all the tests pass.
2015-05-29 14:52:58 -07:00
Adam Kalman 39f23d9cb1 Merge remote-tracking branch 'source/master' into 90296-fte-rounding 2015-05-29 14:20:20 -07:00
Adam Kalman cec0beaa1c 90296 add in map values definitions
add in definitions for map values when used within a chain
generated via _.chain or _().
2015-05-29 14:17:17 -07:00
Sam Albert 9f902efd35 Added _.get definition to lodash with updated test file. 2015-05-26 13:31:01 -04:00
Masahiro Wakame b4a22a180d Merge pull request #4103 from peferron/zipobject
lodash: update _.zipObject and _.object
2015-05-19 23:48:48 +09:00
Masahiro Wakame d34ab2318c Merge pull request #4163 from peferron/lodash-sum
lodash: add _.sum
2015-05-19 23:48:17 +09:00
Ilya Mochalov fba82fdad1 lodash: added now() method 2015-05-14 11:07:34 +05:00
Masahiro Wakame 5bee563842 Merge pull request #3730 from NN---/patch-16
Use DictionaryIterator for Dictionary functions
2015-05-12 00:44:01 +09:00
Artur Górski b51c8d74f7 _.bind updated to support rest parameters 2015-05-06 18:32:55 +02:00
Masahiro Wakame 207fc2a07b Merge pull request #3930 from jedmao/lodash
Lodash union types, optional args
2015-05-06 23:57:50 +09:00
TeamworkGuy2 60cb461b5e Replaced special characters (0x24C8 'circled latin capital letter' and 0x2019 'right single quotation mark') in lodash.d.ts with closest ASCII equivalent characters. Special characters were causing file encoding issues in some IDEs. 2015-05-02 12:33:59 +00:00
peferron 90360d69d9 lodash: make sum() only callable on wrapped arrays of numbers
This change triggers a compilation error when typing e.g.
_(["abc"]).sum()
2015-04-28 12:19:53 -07:00
peferron cdd08b72e6 lodash: add _.sum 2015-04-20 16:39:18 -07:00
peferron eff54af628 lodash: update _.zipObject and _.object
- Update the jsdoc and parameter names.
- Add the 'two-dimensional array' invocation type.
- Add chaining.
- In the test file, replace `{ [key: string]: any }` by `Dictionary<any>` for consistency with the rest of the code.
2015-04-13 21:25:54 -07:00
peferron 78ca9de07e lodash: add _.chunk 2015-04-13 20:17:04 -07:00
Jon Nyman 6baac1dca4 add isError property
https://lodash.com/docs#isError
2015-04-08 10:55:15 -07:00
Ilya Mochalov 5229045da8 Expose _.shuffle() in chained array and object wrappers 2015-03-31 01:04:56 +05:00
Jed Mao 049e87b386 Lodash union types, optional args 2015-03-20 21:43:15 -05:00
NN 03735927ae Use DictionaryIterator for Dictionary functions
Without DictionaryIterator the simplest code is impossible to write:

var myDictionary : {[x:string]: string;}

_.filter(myDictionary, (v, k, c) => { return k == "A"; })
2015-02-24 18:02:04 +02:00
Kasumi Hanazuki 2127b2f1e4 lodash: Add definitions for string functions 2015-02-13 16:13:45 +09:00
Eric Lu 137a5b8e4a Expose _.filter() in chained object wrapper 2015-02-10 10:51:53 -08:00