Irina Glushko 2389e7160b HW1 done | 3 gadi atpakaļ | |
---|---|---|
.. | ||
test | 3 gadi atpakaļ | |
.lint | 3 gadi atpakaļ | |
.npmignore | 3 gadi atpakaļ | |
.travis.yml | 3 gadi atpakaļ | |
CHANGES | 3 gadi atpakaļ | |
LICENSE | 3 gadi atpakaļ | |
README.md | 3 gadi atpakaļ | |
index.js | 3 gadi atpakaļ | |
package.json | 3 gadi 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