parent::__construct( $collector, $params );
$this->thresholdMs = isset( $params['thresholdMs'] )
? $params['thresholdMs']
- : .25;
+ : 1.0;
}
public function log( array $stats ) {
if ( $this->collector->getTemplated() ) {
} else {
print "<!--\n{$out}\n-->\n";
}
- } elseif ( $contentType === 'text/javascript' ) {
- print "\n/*\n${$out}*/\n";
- } elseif ( $contentType === 'text/css' ) {
+ } elseif ( $contentType === 'text/javascript' || $contentType === 'text/css' ) {
print "\n/*\n{$out}*/\n";
}
}