Hacker Newsnew | comments | show | ask | jobs | submit login

Calling it URI.js is a bit namespace-squatty, no? Also, calling everything after the ? the search is a little weird. I used http://code.google.com/p/jsuri/ to build it up on PlaceSteal.



+1 : http://www.ietf.org/rfc/rfc3986.txt

Referring to the query as "search" makes no sense whatsoever.

-----


It makes sense if you're trying to stick with the window.location.search convention. https://developer.mozilla.org/en/DOM/window.location#section...

-----


According to the docs[1], search() is an alias of query(). They should use query instead of search, atleast on the landing page. Also, they should put hash() method on the homepage too, I thought they forgot to implement it.

[1] http://medialize.github.com/URI.js/docs.htm

-----


Maybe they used search because of "window.location.search".

-----


they just fixed it…

-----




Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | DMCA | Apply to YC | Contact

Search: