Good call :) Maybe "??" is a bit more appropriate - I was a little confused by "?.?" at first, I thought it was some regex magic of some sort.

    
--
jordan scales
scalesjordan@gmail.com
http://jordanscales.com

On Mon, Sep 9, 2013 at 3:32 PM, Quim Calpe <notifications@github.com>
wrote:

>> @@ -99,8 +103,8 @@ ProgressBar.prototype.tick = function(len, tokens){
>>      .replace(':bar', complete + incomplete)
>>      .replace(':current', this.curr)
>>      .replace(':total', this.total)
>> -    .replace(':elapsed', (elapsed / 1000).toFixed(1))
>> -    .replace(':eta', (eta / 1000).toFixed(1))
>> +    .replace(':elapsed', isNaN(elapsed) ? "?.?" : (elapsed / 1000).toFixed(1))
> eta and elapsed are not available until first tick happens, I'm open to change ?.? to other notation, I was just avoiding NaN being displayed
> ---
> Reply to this email directly or view it on GitHub:
> https://github.com/visionmedia/node-progress/pull/35/files#r6247993