Irina Glushko 2389e7160b HW1 done | 3 лет назад | |
---|---|---|
.. | ||
test | 3 лет назад | |
.lint | 3 лет назад | |
.npmignore | 3 лет назад | |
.travis.yml | 3 лет назад | |
CHANGES | 3 лет назад | |
LICENSE | 3 лет назад | |
README.md | 3 лет назад | |
index.js | 3 лет назад | |
package.json | 3 лет назад |
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