URI
URI copied to clipboard
ECMA-262 URI type, rfc3986 compliant, multi vendor and v8 / node.js compatible (client and server side)
let's add a licence, otherwise it's copyrighted and not suitable for consumption
input.length is returning 0 on line 130 and thus not triggering the while loop body. input.value.length does in fact get the correct value. I'm not familiar enough with JS and...
Hello, I fixed 2 problems, or they were at least in my environment. - My javascript engines don't seem to allow overriding String.length, so I added a call to toString()....
fix npe
hey, just added a quick bugfix to check that module is defined - using this lib in a browser was throwing an error.
More of a question than an issue, but why not strip off the question mark character from the value returned by querystring()? I always saw that as more of a...
This test code fails for me: test = new URI("http://localhost:8080/foo.html"); assert.equal( test.resolveReference("foobar.html"), "http://localhost:8080/foobar.html", "resolveReference"); The incorrect output is (missing the root "/"): "http://localhost:8080foobar.html"