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