Kevin 29b9a0c50c clean && clean html base | 4 years ago | |
---|---|---|
.. | ||
test | 4 years ago | |
.lint | 4 years ago | |
.npmignore | 4 years ago | |
.travis.yml | 4 years ago | |
CHANGES | 4 years ago | |
LICENSE | 4 years ago | |
README.md | 4 years ago | |
index.js | 4 years ago | |
package.json | 4 years ago |
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