IconCMO/Sugar — pull request #1 by dahjelle (2013-08-21 13:57:52+00:00)
Title: Handle numbers with leading zeros as strings in Object.fromQueryString.

I ran into the issue where having a zip code with leading zeros (like 00123) as a URL parameter was parsed as a number instead of a string, which led to the zeros being dropped.

My approach here is to make sure that the string representation of the parsed value would match the original string value before using parseFloat to assign the parameter's value. I suppose this could break on large float values.

Any comments welcome!