MCPcopy
hub / github.com/visionmedia/node-progress / bar2

Function bar2

examples/formats.js:19–33  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

17}, 100);
18
19function bar2() {
20 var bar = new ProgressBar(' processing: [:bar]', {
21 total: 15
22 , complete: '*'
23 , incomplete: ' '
24 });
25
26 var id = setInterval(function(){
27 bar.tick();
28 if (bar.complete) {
29 clearInterval(id);
30 bar3();
31 }
32 }, 100);
33}
34
35function bar3() {
36 var bar = new ProgressBar(' download |:bar| :percent', {

Callers 1

formats.jsFile · 0.85

Calls 1

bar3Function · 0.85

Tested by

no test coverage detected