Beispiel #1
0
bar.prototype.update = function (index, all, commit) {

	_bar.show(commit, (index/all).toFixed(2));
	if((all - index) < 10) {
		_bar.show(commit, 1);
	}
	_bar.pulse(index);
};
Beispiel #2
0
 const pulsBarInterval = setInterval(() => bar.pulse(currentEmoji), 60)