riemann / riemann-dash

An HTTP dashboard for Riemann.
MIT License
248 stars 102 forks source link

Reworked row/column label trimming in grid.js. #34

Closed Tinche closed 11 years ago

Tinche commented 11 years ago

Regards https://github.com/aphyr/riemann-dash/issues/33.

How about this? Suppose 4 hosts: nil, host, host1, host2, host3.

After trimming, the labels should be: nil, host, 1, 2, 3.

Also, JSHint yelled at me so I put in some semicolons.

ghost commented 11 years ago

Looks good, thanks @Tinche! :)