root 3bf41bf355 update | 1 سال پیش | |
---|---|---|
.. | ||
test | 1 سال پیش | |
.lint | 1 سال پیش | |
.npmignore | 1 سال پیش | |
.travis.yml | 1 سال پیش | |
CHANGES | 1 سال پیش | |
LICENSE | 1 سال پیش | |
README.md | 1 سال پیش | |
index.js | 1 سال پیش | |
package.json | 1 سال پیش |
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