mlbli/craft — pull request #21 by mlbli (2013-03-27 13:50:48+00:00)
Title: Object.fromQueryString

### Object.fromQueryString

Returns an object from a queryString.

```javascript
var str = "foo=bar&baz=baz"
Object.fromQueryString(str)
// -> {foo:"bar", baz:"baz"}
var str2 = "foo=bar&baz[]=baz&baz[]=bar"
Object.fromQueryString(str2)
// -> {foo:"bar", baz:["baz", "bar"]}
var str3 = "foo=bar&baz[]=baz&baz[]=bar&baz=foo"
Object.fromQueryString(str2)
// -> {foo:"bar", baz:"foo"}
```