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