|
há 4 anos | |
---|---|---|
.. | ||
test | há 4 anos | |
.lint | há 4 anos | |
.npmignore | há 4 anos | |
.travis.yml | há 4 anos | |
CHANGES | há 4 anos | |
LICENSE | há 4 anos | |
README.md | há 4 anos | |
index.js | há 4 anos | |
package.json | há 4 anos |
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