Permalink
Browse files

fixed; histogram example

  • Loading branch information...
wavded committed Aug 8, 2012
1 parent e0b0d34 commit 82ce1825d63c9ef1298537a6a851184349695741
Showing with 2 additions and 2 deletions.
  1. +2 −2 README.md
View
@@ -35,8 +35,8 @@ They implement: update, mean, stdDev, percentiles, clear
They expose: count, min, max, sum
```javascript
-var hist1 = new metrics.createExponentialDecayHistogram()
- , hist2 = new metrics.createUniformHistogram();
+var hist1 = new metrics.Histogram.createExponentialDecayHistogram()
+ , hist2 = new metrics.Histogram.createUniformHistogram();
hist2.update(1);
hist2.update(3);
hist2.mean(); // 2

0 comments on commit 82ce182

Please sign in to comment.