The code contains known bugs and I personally switched to using a different router.
PathJS is a lightweight, client-side routing library that allows you to create single page applications using Hashes/Hashbangs and/or HTML5 PushState.
This repository was forked from mtrpcic/pathjs for continued maintenance. The latest version in this repository still serves as a drop-in replacement for the original version.
Description forthcoming. Visit mtrpcic/pathjs in the meantime. The API is still the same.
Additionally, this library