medialize/URI.js — pull request #2 by mark-rushakoff (2011-12-28 06:24:49+00:00)
Title: fragmentURI methods for working with single page apps

This library looks really good except for the fact that it didn't offer much utility in working with single page applications (e.g. using [Backbone Router](http://documentcloud.github.com/backbone/#Router) or [Sammy.js](http://sammyjs.org/)). You can work around this by extracting the `fragment` from the URI, making a new URI from that, modifying it, and plugging it back into the `fragment` of the original URI; or you could use the helper methods I added in this pull request.

Tests are included, but documentation isn't. If the code meets your standards, I will be happy to update the pull request with changes to the documentation files as well.