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