text: var Base=require("./base"),color=Base.color;exports=module.exports=Dot;function Dot(d){Base.call(this,d);var a=this,b=this.stats,c=Base.window.width*0.75|0,e=0;d.on("start",function(){process.stdout.write("\n  ")});d.on("pending",function(f){process.stdout.write(color("pending",Base.symbols.dot))});d.on("pass",function(f){if(++e%c==0){process.stdout.write("\n  ")}if("slow"==f.speed){process.stdout.write(color("bright yellow",Base.symbols.dot))}else{process.stdout.write(color(f.speed,Base.symbols.dot))}});d.on("fail",function(g,f){if(++e%c==0){process.stdout.write("\n  ")}process.stdout.write(color("fail",Base.symbols.dot))});d.on("end",function(){console.log();a.epilogue()})}Dot.prototype.__proto__=Base.prototype;