Eric Foster d5378345de connection between front end and database | 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