Browse files

Merge pull request #14 from wavded/patch-1

fixed; histogram example
  • Loading branch information...
2 parents e0b0d34 + 82ce182 commit 099d6eaf165cc73b73eaf34b9aafd5ed6310e13d @Techwraith Techwraith committed Aug 8, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 README.md
View
4 README.md
@@ -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 099d6ea

Please sign in to comment.