This commit is contained in:
rolux 2012-06-03 11:13:39 +02:00
parent 42092f163b
commit 24bbf95bd5

View file

@ -190,7 +190,7 @@ Ox.parseURL <f> Takes a URL, returns its components
'/bar/index.html' '/bar/index.html'
> Ox.parseURL('http://www.foo.com:8080/bar/index.html?a=0&b=1#c').port > Ox.parseURL('http://www.foo.com:8080/bar/index.html?a=0&b=1#c').port
'8080' '8080'
> Ox.parseURL('http://www.foo.com:8080/bar/index.html?a=0&b=1#c')protocol > Ox.parseURL('http://www.foo.com:8080/bar/index.html?a=0&b=1#c').protocol
'http:' 'http:'
> Ox.parseURL('http://www.foo.com:8080/bar/index.html?a=0&b=1#c').search > Ox.parseURL('http://www.foo.com:8080/bar/index.html?a=0&b=1#c').search
'?a=0&b=1' '?a=0&b=1'