Aaron Jensen
5b58b8cfc8
Fix handling null differently than undefined.
...
`u` and friends will now coerce null to an object if there are updates for it.
Fixes #20
2015-08-12 22:04:31 -07:00
Aaron Jensen
e99d575972
Update curry benchmark
2015-08-12 21:19:09 -07:00
Aaron Jensen
9b1b6bb44a
Merge pull request #21 from substantial/add-placeholder
...
Add u._
2015-08-12 08:54:35 -07:00
Aaron Jensen
571102d947
Add u._
2015-08-12 08:35:10 -07:00
Aaron Jensen
f32dba4a03
Clean up benchmarks
2015-08-12 07:22:45 -07:00
Aaron Jensen
3857d33d1b
Add spec for curry4
2015-08-12 00:53:29 -07:00
Aaron Jensen
50fe8155e1
Update CHANGELOG.md
2015-08-12 00:34:31 -07:00
Aaron Jensen
cfe2a8e317
Update CHANGELOG.md
2015-08-12 00:30:19 -07:00
Aaron Jensen
7fcd5719dd
0.6.0
2015-08-12 00:26:04 -07:00
Aaron Jensen
a6b39fb21e
Update changelog
2015-08-12 00:25:55 -07:00
Aaron Jensen
324b165e2a
Use lodash's map, it's faster
2015-08-12 00:23:51 -07:00
Aaron Jensen
1e9e43b118
Add lots of benchmark stuff
2015-08-12 00:08:36 -07:00
Aaron Jensen
3ce001a4f6
Replace lodash curry with our own
...
lodash's curry is great and does a lot, but we don't need it all. This
is quite a bit faster.
Currently, it does away with placeholder support.
updeep curry partial call x 9,951,410 ops/sec ±1.61% (62 runs sampled)
lodash curry partial call x 988,949 ops/sec ±1.36% (62 runs sampled)
2015-08-11 23:58:54 -07:00
Aaron Jensen
ff195645cd
Add curry
2015-08-11 23:55:23 -07:00
Aaron Jensen
70d8d1d1e3
Update README.md
2015-08-11 22:17:19 -07:00
Aaron Jensen
7fff8982e2
Update README.md
2015-08-11 22:16:07 -07:00
Aaron Jensen
efb669f017
Use lodash's forEach
...
It's a lot faster
2015-08-10 00:02:49 -07:00
Aaron Jensen
167760fb24
Do not use update
in map if iteratee is a function
...
Performance bump, especially while curry is slow.
2015-08-10 00:02:49 -07:00
Aaron Jensen
5c64c7fbf6
Add ability to benchmark things
2015-08-10 00:02:49 -07:00
Aaron Jensen
b1701b09bd
Build the minified version in production mode
...
This is probably not the way to do this, I may want to just have
multiple versions, dev+production * full+min
2015-08-10 00:02:49 -07:00
Aaron Jensen
32f69339a5
Update README
2015-08-09 22:10:11 -07:00
Aaron Jensen
6511166806
Update README.md
2015-08-09 22:03:48 -07:00
Aaron Jensen
e5836877a6
Merge pull request #18 from hedgerh/master
...
Updated README.md - examples
2015-08-09 22:01:09 -07:00
Harry Hedger
456283c622
Updated README.md - examples
2015-08-09 11:53:43 -04:00
Aaron Jensen
92ae098659
Make u.map return same instance if nothing changes
2015-08-09 00:21:24 -07:00
Aaron Jensen
8e82692be2
Refactor update.js and remove some lodash
2015-08-08 23:35:53 -07:00
Aaron Jensen
f8ea61ede0
Update README
2015-08-07 14:58:49 -07:00
Aaron Jensen
070c367810
Update changelog
2015-08-06 21:41:55 -07:00
Aaron Jensen
4a66e8a389
0.5.0
2015-08-06 21:41:10 -07:00
Aaron Jensen
b6b2daf824
Add u.update as alias to u
2015-08-06 21:40:57 -07:00
Aaron Jensen
339904aace
Add note to readme
2015-08-06 21:30:55 -07:00
Aaron Jensen
333ca47cfd
Rename u.in to u.updateIn
...
With u.if and u.is, it was too confusing. Originally I thought that because
u stood for update, it would make sense, but as I add more functions,
I think that was wrong.
2015-08-06 20:52:06 -07:00
Aaron Jensen
5c0855b9df
Add u.is
2015-08-06 20:48:04 -07:00
Aaron Jensen
59ec770a88
Fix example in readme
2015-08-06 20:13:46 -07:00
Aaron Jensen
556ada11f3
Update changelog
2015-08-05 23:12:00 -07:00
Aaron Jensen
defb643c05
0.4.0
2015-08-05 23:10:47 -07:00
Aaron Jensen
ddd5c84d49
Add u.ifElse
...
Fixes #12
2015-08-05 23:10:16 -07:00
Aaron Jensen
6ee1e3346b
Improve test watching
2015-08-05 23:09:43 -07:00
Aaron Jensen
90275489c4
Fix missing u in readme
2015-08-05 19:49:55 -07:00
Aaron Jensen
a7156e29a1
Fix lint
2015-08-05 08:39:42 -07:00
Aaron Jensen
b0328ab72d
Fix spec for phantomjs
2015-08-05 08:32:02 -07:00
Aaron Jensen
ad381207a9
Run karma during watch and use dots
2015-08-05 08:31:54 -07:00
Aaron Jensen
1e6fa4a18d
Update badges to new repo location
2015-08-05 08:19:14 -07:00
Aaron Jensen
4bdb267b8b
Revert "Use shield.io badges"
...
This reverts commit c7592a26b4
.
The service is unstable at the moment.
2015-08-05 08:14:28 -07:00
Aaron Jensen
b1e000b06d
Freeze objects returned by helper methods
2015-08-05 04:44:14 -07:00
Aaron Jensen
cc42bbb2a4
Replace object outright when updates are constant
2015-08-05 04:28:32 -07:00
Aaron Jensen
64b027ae81
Fix some grammar
2015-08-05 00:42:49 -07:00
Aaron Jensen
8d0f389106
Update full example in readme
2015-08-05 00:41:27 -07:00
Aaron Jensen
78c30e038a
Rename obj to object
2015-08-05 00:31:10 -07:00
Aaron Jensen
1a1e2b313a
Add u.map
2015-08-05 00:25:34 -07:00