/var/www/cobraambalaj/node_modules/throttleit
NameSizeModeActions
.npmignore300644editdlrm
component.json2350644editdlrm
example.js2210644editdlrm
History.md3070644editdlrm
index.js8200644editdlrm
Makefile2810644editdlrm
package.json12320644editdlrm
Readme.md6110644editdlrm
test.js15730644editdlrm
Edit: /var/www/cobraambalaj/node_modules/throttleit/example.js (221B)
var throttle = require('./'); function onprogress(n) { console.log('progress %s%', n); } onprogress = throttle(onprogress, 500); var n = 0; setInterval(function(){ if (n >= 100) return; onprogress(n++); }, 50);