Add URL and QueryString modules, and tests for each.
authorisaacs <i@foohack.com>
Mon, 4 Jan 2010 07:14:12 +0000 (23:14 -0800)
committerRyan Dahl <ry@tinyclouds.org>
Tue, 5 Jan 2010 05:03:54 +0000 (21:03 -0800)
commit7ff04c1f86d85876225fe7c3059efaedca8ed14a
treeb82845df2d8f676c5b712be53807e3729823c0ff
parentd6fe7fb4c3f3ba0cb0da3f16255e0b5d9fbec8da
Add URL and QueryString modules, and tests for each.

Also, make a slight change from original on url-module to put the
spacePattern into the function.  On closer inspection, it turns out that the
nonlocal-var cost is higher than the compiling-a-regexp cost.

Also, documentation.
doc/api.txt
lib/querystring.js [new file with mode: 0644]
lib/url.js [new file with mode: 0644]
test/mjsunit/test-querystring.js [new file with mode: 0644]
test/mjsunit/test-url.js [new file with mode: 0644]