root 3bf41bf355 update | 1 year ago | |
---|---|---|
.. | ||
test | 1 year ago | |
.lint | 1 year ago | |
.npmignore | 1 year ago | |
.travis.yml | 1 year ago | |
CHANGES | 1 year ago | |
LICENSE | 1 year ago | |
README.md | 1 year ago | |
index.js | 1 year ago | |
package.json | 1 year 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