Permalink
Browse files

this is, in fact, the right way to clear the raws array

  • Loading branch information...
1 parent 85644fe commit dc24ba179966b874d586f6c7ad8b6be45e73dc50 @jeff-minard-ck committed Jun 15, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 stats.js
View
@@ -57,7 +57,7 @@ function flushMetrics() {
}
// Clear the raws
- metrics.raws = [];
+ metrics.raws.length = 0;
// Clear the averages
for (key in averages) {

0 comments on commit dc24ba1

Please sign in to comment.