Kévin Tessier 04fab6ba46 install gulp | il y a 6 ans | |
---|---|---|
.. | ||
test | il y a 6 ans | |
.lint | il y a 6 ans | |
.npmignore | il y a 6 ans | |
.travis.yml | il y a 6 ans | |
CHANGES | il y a 6 ans | |
LICENSE | il y a 6 ans | |
README.md | il y a 6 ans | |
index.js | il y a 6 ans | |
package.json | il y a 6 ans |
To be used in environment agnostic modules that need nextTick functionality.
process.nextTick
is usedMutationObserver
setImmediate
or setTimeout(fn, 0)
is used as fallback.null
In your project path:
$ npm install next-tick
You can easily bundle next-tick
for browser with any CJS bundler, e.g. modules-webmake
$ npm test