vlad 6f123ff03e 18.07 | 6 سال پیش | |
---|---|---|
.. | ||
test | 6 سال پیش | |
.lint | 6 سال پیش | |
.npmignore | 6 سال پیش | |
.travis.yml | 6 سال پیش | |
CHANGES | 6 سال پیش | |
LICENSE | 6 سال پیش | |
README.md | 6 سال پیش | |
index.js | 6 سال پیش | |
package.json | 6 سال پیش |
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