websanova / js-url

url() - A simple, lightweight url parser for JavaScript
http://www.websanova.com
MIT License
1.93k stars 204 forks source link

Missing field argument in the example #43

Closed gskema closed 8 years ago

gskema commented 8 years ago

I believe that documentation example

url('?'); // {query1: 'test', silly: 'willy'}

is missing the field parameter which would be an array of length 3, but with 2 elements. Don't know how to denote that clearly, so I made an issue :)

websanova commented 8 years ago

Updated, actually there were quite a few that needed updating, thx :-)