0.0.1 • Published 13 years ago
part-next-tick v0.0.1
Part Next Tick
Node/browser process.nextTick implementation.
In the browser, it will try requestAnimationFrame and fallback to setTimeout. In node.js, it just uses process.nextTick.
Installation
node.js:
$ npm install part-next-tickbrowser:
$ component install part/next-tickExample
var nextTick = require('part-next-tick');
nextTick(function(){
console.log('after');
});
console.log('before');Licence
MIT
0.0.1
13 years ago