|
|
7 年之前 | |
|---|---|---|
| .. | ||
| test | 7 年之前 | |
| .lint | 7 年之前 | |
| .npmignore | 7 年之前 | |
| .travis.yml | 7 年之前 | |
| CHANGES | 7 年之前 | |
| LICENSE | 7 年之前 | |
| README.md | 7 年之前 | |
| index.js | 7 年之前 | |
| package.json | 7 年之前 | |
To be used in environment agnostic modules that need nextTick functionality.
process.nextTick is usedMutationObserversetImmediate or setTimeout(fn, 0) is used as fallback.nullIn 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