jpsp91 07dd8af64f root page set | 6 年之前 | |
---|---|---|
.. | ||
test | 6 年之前 | |
.lint | 6 年之前 | |
.npmignore | 6 年之前 | |
.travis.yml | 6 年之前 | |
CHANGES | 6 年之前 | |
LICENSE | 6 年之前 | |
README.md | 6 年之前 | |
index.js | 6 年之前 | |
package.json | 6 年之前 |
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