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