Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

fixed; histogram example #14

Merged
merged 1 commit into from

3 participants

@wavded

just a quick fix for the histogram example documentation, the current doesn't work

@Techwraith Techwraith merged commit 099d6ea into mikejihbe:master
@Techwraith

Thanks for the fix!

@mikejihbe mikejihbe was assigned
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Aug 8, 2012
  1. @wavded

    fixed; histogram example

    wavded authored
This page is out of date. Refresh to see the latest.
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
Something went wrong with that request. Please try again.