git ssb

1+

Matt McKegg / mutant



Commit d21f00b20866259a0cc392aac18a581d68aa23be

Merge branch 'master' of https://github.com/mmckegg/mutant

Matt McKegg committed on 11/9/2017, 8:39:59 AM
Parent: f3288b0f154b91b996580e0c68b99ea612698769
Parent: 384839d826d48b42af545900fe4d88c8df62357d

Files changed

README.mdchanged
README.mdView
@@ -163,9 +163,9 @@
163163 * `dict.keys()` return array of keys.
164164
165165 ### Set
166166
167-Represents a collection like [Array](#Array) except without ordering.
167 +Represents a collection like [Array](#Array) except without ordering or duplicate values.
168168
169169 additional methods:
170170 * `set.add(value)` add `value` to the set.
171171 * `set.clear()` remove all items.
@@ -391,11 +391,19 @@
391391
392392
393393 ### onceIdle
394394
395-...
395 +delay a function until the next [idle callback](https://developer.mozilla.org/en-US/docs/Web/API/Window/requestIdleCallback)
396 +without hammering the `requestIdleCallback` api
396397
398 +``` js
399 +var onceIdle = require('mutant/once-idle')
400 +onceIdle(function () {
401 + //called once, at some later point (after rendering and such)
402 +})
403 +```
397404
405 +
398406 ### resolve
399407
400408 ...
401409

Built with git-ssb-web