markdotto/github-buttons — pull request #35 by panzi (2012-11-06 00:20:20+00:00)
Title: add vertical layout support

Added support for vertical layouts. This means the count is shown above the button in a big bubble, like int the vertical layouts of Twitter/Facebook Like/Google+/Flattr/...

Other minor changes that aren't really part of this feature:
* Added missing `;` on one line.
* Initialize count with ` ` so it does not jump once its get a content.
Use `String(n)` instead of `n.toString()` out of principle, because it always works (even for `undefined` etc.).
* Run params through `decodeURIComponent` out of principle, even though no parameters values that need escaping should ever occur.