tildeio/router.js — pull request #14 by ppcano (2013-04-24 18:27:26+00:00)
Title: URL invalid change can transition to error handler

An Invalid URL is a common case on web applications. This is a simple implementation to enter an `error` state when its handler is available. Otherwise, it threw an exception.