git ssb

1+

Matt McKegg / mutant



Commit 6e2b0b0942ba7f0b2a60ecbf703bb39a910e60ed

Update README.md

Matt McKegg authored on 6/20/2017, 1:30:54 AM
GitHub committed on 6/20/2017, 1:30:54 AM
Parent: 8e28bf396920836c01fd56e791f641c8a34675bb

Files changed

README.mdchanged
README.mdView
@@ -237,15 +237,15 @@
237237 ## Transforms
238238
239239 Take one or more observables and transform them into an observable
240240
241-- [Computed](#Computed)
241 +- [computed](#computed)
242242 - concat
243243 - dictToCollection
244244 - idleProxy
245245 - keys
246246 - lookup
247-- [Map](#Map)
247 +- [map](#map)
248248 - merge
249249 - throttle
250250 - when
251251
@@ -255,11 +255,13 @@
255255
256256 ``` js
257257 //observable that is true if A or B are true
258258
259-var Computed = require('mutant/computed')
259 +var computed = require('mutant/computed')
260260
261-var aOrB = Computed([a, b], function (a, b) { return a || b })
261 +var aOrB = computed([a, b], (a, b) => {
262 + return a || b
263 +})
262264 ```
263265
264266 Once again, similar to the observ and observable implementations. It has a few key differences though.
265267

Built with git-ssb-web