zerovm/swift-browser — pull request #195 by mgeisler (2014-11-25 15:18:13+00:00)
Title: upload: fix type error

The problem is that parseInt takes a string, not a number. So when we
passed a number this was first cast to a string, which was then parsed
as an integer, effectively throwing away the decimal part. That is
silly when Angular has a filter that can round then number for us.

This was detected with flow: http://flowtype.org/.